Skip to content
Snippets Groups Projects
Commit 6d7d3c16 authored by Jan-Christoph Borchardt's avatar Jan-Christoph Borchardt
Browse files

ellipsize long modified dates to make room for showing delete button, fix #7040

parent cf6538ab
No related branches found
No related tags found
No related merge requests found
...@@ -119,7 +119,9 @@ table th#headerDate, table td.date { ...@@ -119,7 +119,9 @@ table th#headerDate, table td.date {
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
/* this can not be just width, both need to be set … table styling */
min-width: 176px; min-width: 176px;
max-width: 176px;
} }
/* Multiselect bar */ /* Multiselect bar */
...@@ -174,6 +176,14 @@ table td.filename .nametext, .uploadtext, .modified { float:left; padding:14px 0 ...@@ -174,6 +176,14 @@ table td.filename .nametext, .uploadtext, .modified { float:left; padding:14px 0
} }
.modified { .modified {
position: relative; position: relative;
overflow: hidden;
text-overflow: ellipsis;
width: 90%;
}
/* ellipsize long modified dates to make room for showing delete button */
#fileList tr:hover .modified,
#fileList tr:focus .modified {
width: 75%;
} }
/* TODO fix usability bug (accidental file/folder selection) */ /* TODO fix usability bug (accidental file/folder selection) */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment