summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-04-22 23:09:15 +0200
committerJulius Härtl <jus@bitgrid.net>2018-04-22 23:09:15 +0200
commitcbdaa8b7ce041ddb7768fa374c1b65e2515f9b2e (patch)
treeac3551bccb11d64926136da055ce4ef4981a6632 /apps/files
parentfb7d73708baa3e55331cbc65d14b7ddb3dcbeff9 (diff)
downloadnextcloud-server-cbdaa8b7ce041ddb7768fa374c1b65e2515f9b2e.tar.gz
nextcloud-server-cbdaa8b7ce041ddb7768fa374c1b65e2515f9b2e.zip
Add min-width to trick the table width calculation in safari
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/css/files.scss25
1 files changed, 14 insertions, 11 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss
index e9e616aa727..b89332248f7 100644
--- a/apps/files/css/files.scss
+++ b/apps/files/css/files.scss
@@ -335,17 +335,20 @@ table td.filename .nametext, .modified, .column-last>span:first-child { float:le
/* TODO fix usability bug (accidental file/folder selection) */
table {
- td.filename .nametext {
- width: 0;
- flex-grow: 1;
- display: flex;
- padding: 0;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- height: 100%;
- z-index: 10;
- padding-right: 20px;
+ td.filename {
+ max-width: 0;
+ .nametext {
+ width: 0;
+ flex-grow: 1;
+ display: flex;
+ padding: 0;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ height: 100%;
+ z-index: 10;
+ padding-right: 20px;
+ }
}
.uploadtext {