summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2017-09-14 16:40:24 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2017-09-14 16:43:24 +0200
commit42ac9cde087d49e34ead0e2a448587caa7ecc377 (patch)
tree5c519a66eacfae9138d527e360feed784ecc097f /apps
parent06691611e3b09d15b4109afa0c36fbf9592fffe7 (diff)
downloadnextcloud-server-42ac9cde087d49e34ead0e2a448587caa7ecc377.tar.gz
nextcloud-server-42ac9cde087d49e34ead0e2a448587caa7ecc377.zip
Correctly ellipsize file names, fix #6498
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps')
-rw-r--r--apps/files/css/files.scss4
-rw-r--r--apps/files/css/mobile.scss2
2 files changed, 5 insertions, 1 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss
index e6c65a65a93..741ea329c84 100644
--- a/apps/files/css/files.scss
+++ b/apps/files/css/files.scss
@@ -350,6 +350,10 @@ table td.filename .nametext {
max-width: 800px;
height: 100%;
}
+/* ellipsis on file names */
+table td.filename .nametext .innernametext {
+ max-width: calc(100% - 100px) !important;
+}
.has-favorites #fileList td.filename a.name {
left: 50px;
margin-right: 50px;
diff --git a/apps/files/css/mobile.scss b/apps/files/css/mobile.scss
index 28225b82fef..9e1c8a01d89 100644
--- a/apps/files/css/mobile.scss
+++ b/apps/files/css/mobile.scss
@@ -61,7 +61,7 @@ table td.filename .nametext {
/* ellipsis on file names */
table td.filename .nametext .innernametext {
- max-width: calc(100% - 175px);
+ max-width: calc(100% - 175px) !important;
}
/* proper notification area for multi line messages */