summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-02-03 15:57:00 -0800
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-02-03 15:57:00 -0800
commit3692260174dd0775911f2573d7884007f6164033 (patch)
treecdba6412eb1ac4ce5fab5b87a5c5b40615d520ac
parent9a0d7c5be4720ae68048b9bef20928f954abcf61 (diff)
parentb56dbbe0e5b593f53b686d5cada5a36ef2d4f39f (diff)
downloadnextcloud-server-3692260174dd0775911f2573d7884007f6164033.tar.gz
nextcloud-server-3692260174dd0775911f2573d7884007f6164033.zip
Merge pull request #7055 from owncloud/ellipsize-modified-date
ellipsize long modified dates to make room for showing delete button
-rw-r--r--apps/files/css/files.css11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index 1d254ad04ee..5526abaf6e2 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,15 @@ table td.filename .nametext, .uploadtext, .modified { float:left; padding:14px 0
}
.modified {
position: relative;
+ padding-left: 8px;
+ 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) */