summaryrefslogtreecommitdiffstats
path: root/apps/files/css
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-02-03 17:23:30 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-02-03 17:24:44 +0100
commit6d7d3c16d04596b0cd32ebc1aaddaaaf7c5fe481 (patch)
treed8eaa3a936ae391d0cc13d8561f7d7bca882dad8 /apps/files/css
parentcf6538abdeb1a89ee020ded19a9711ea1f013327 (diff)
downloadnextcloud-server-6d7d3c16d04596b0cd32ebc1aaddaaaf7c5fe481.tar.gz
nextcloud-server-6d7d3c16d04596b0cd32ebc1aaddaaaf7c5fe481.zip
ellipsize long modified dates to make room for showing delete button, fix #7040
Diffstat (limited to 'apps/files/css')
-rw-r--r--apps/files/css/files.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index 1d254ad04ee..8c7938c79bb 100644
--- a/apps/files/css/files.css
+++ b/apps/files/css/files.css
@@ -119,7 +119,9 @@ table th#headerDate, table td.date {
-moz-box-sizing: border-box;
box-sizing: border-box;
position: relative;
+ /* this can not be just width, both need to be set … table styling */
min-width: 176px;
+ max-width: 176px;
}
/* Multiselect bar */
@@ -174,6 +176,14 @@ table td.filename .nametext, .uploadtext, .modified { float:left; padding:14px 0
}
.modified {
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) */