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%; }