Fix breadcrumbs in file picker

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2018-10-01 21:19:48 +02:00
parent c2a956f55e
commit 5ed0062002
No known key found for this signature in database
GPG Key ID: CBD846FC845CBE17
1 changed files with 6 additions and 1 deletions

View File

@ -700,8 +700,10 @@ code {
#oc-dialog-filepicker-content { #oc-dialog-filepicker-content {
.dirtree { .dirtree {
width: 92%; width: 96%;
flex-wrap: wrap; flex-wrap: wrap;
padding-left: 12px;
div:first-child a { div:first-child a {
background-image: url('../img/places/home.svg?v=1'); background-image: url('../img/places/home.svg?v=1');
background-repeat: no-repeat; background-repeat: no-repeat;
@ -1007,6 +1009,9 @@ div.crumb {
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
flex: 0 0 auto; flex: 0 0 auto;
// Some sane max-width for each folder name
max-width: 200px;
&.icon-home { &.icon-home {
// Hide home text // Hide home text
text-indent: -9999px; text-indent: -9999px;