Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
e3429b63
"README.md" did not exist on "29fc82c364e2e90330d9858528e50d785e5e66bd"
Commit
e3429b63
authored
11 years ago
by
Morris Jobke
Browse files
Options
Downloads
Patches
Plain Diff
improve ellipsis of filename for different screen sizes
parent
f3a60523
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
apps/files/css/files.css
+20
-14
20 additions, 14 deletions
apps/files/css/files.css
apps/files/css/mobile.css
+2
-5
2 additions, 5 deletions
apps/files/css/mobile.css
with
22 additions
and
19 deletions
apps/files/css/files.css
+
20
−
14
View file @
e3429b63
...
...
@@ -292,40 +292,46 @@ table td.filename .nametext .innernametext {
@media
only
screen
and
(
min-width
:
1366px
)
{
table
td
.filename
.nametext
.innernametext
{
max-width
:
650px
;
max-width
:
760px
;
}
table
tr
:hover
td
.filename
.nametext
.innernametext
{
max-width
:
480px
;
}
}
@media
only
screen
and
(
min-width
:
1200px
)
and
(
max-width
:
1366px
)
{
table
td
.filename
.nametext
.innernametext
{
max-width
:
450px
;
}
max-width
:
600px
;
}
@media
only
screen
and
(
min-width
:
1000px
)
and
(
max-width
:
1200px
)
{
table
td
.filename
.nametext
.innernametext
{
max-width
:
270px
;
table
tr
:hover
td
.filename
.nametext
.innernametext
{
max-width
:
320px
;
}
}
@media
only
screen
and
(
min-width
:
9
00px
)
and
(
max-width
:
1
0
00px
)
{
@media
only
screen
and
(
min-width
:
10
00px
)
and
(
max-width
:
1
2
00px
)
{
table
td
.filename
.nametext
.innernametext
{
max-width
:
210px
;
}
max-width
:
400px
;
}
@media
only
screen
and
(
min-width
:
768px
)
and
(
max-width
:
900px
)
{
table
td
.filename
.nametext
span
:not
(
.extension
)
{
max-width
:
200px
;
table
tr
:hover
td
.filename
.nametext
.innernametext
{
max-width
:
120px
;
}
}
@media
only
screen
and
(
m
ax
-width
:
768px
)
{
@media
only
screen
and
(
m
in
-width
:
768px
)
and
(
max-width
:
1000px
)
{
table
td
.filename
.nametext
.innernametext
{
max-width
:
400px
;
max-width
:
320px
;
}
table
tr
:hover
td
.filename
.nametext
.innernametext
{
max-width
:
40px
;
}
}
/* for smaller resolutions - see mobile.css */
table
td
.filename
.uploadtext
{
font-weight
:
normal
;
margin-left
:
8px
;
}
table
td
.filename
form
{
font-size
:
14px
;
margin-left
:
48px
;
margin-right
:
48px
;
}
...
...
This diff is collapsed.
Click to expand it.
apps/files/css/mobile.css
+
2
−
5
View file @
e3429b63
...
...
@@ -50,11 +50,8 @@ table td.filename .nametext {
}
/* ellipsis on file names */
.nametext
{
width
:
60%
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
table
td
.filename
.nametext
.innernametext
{
max-width
:
75%
;
}
/* proper notification area for multi line messages */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment