From 6c9da646e0fdd6c6613f2e22bf23118c06dbc9ba Mon Sep 17 00:00:00 2001 From: Pierre Bondoerffer Date: Fri, 3 Mar 2017 16:26:08 +0100 Subject: [PATCH] (CSS) Some improvements to drive --- www/drive/file.css | 5 +++++ www/drive/file.less | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/www/drive/file.css b/www/drive/file.css index a9438181c..c2fa83b65 100644 --- a/www/drive/file.css +++ b/www/drive/file.css @@ -248,8 +248,13 @@ span.fa-folder-open { text-align: center; vertical-align: top; overflow: hidden; + text-overflow: ellipsis; padding-top: 10px; padding-bottom: 5px; + max-height: 145px; +} +#content div.grid li:not(.selected) { + border: transparent 1px; } #content div.grid li .name { width: 100%; diff --git a/www/drive/file.less b/www/drive/file.less index 9b431889d..251400ef0 100644 --- a/www/drive/file.less +++ b/www/drive/file.less @@ -292,9 +292,14 @@ span { text-align: center; vertical-align: top; overflow: hidden; + text-overflow: ellipsis; padding-top: 10px; padding-bottom: 5px; + max-height: 145px; + &:not(.selected) { + border: transparent 1px; + } .name { width: 100%; }