From 5ed00620024368792acb4f9930ddf837e26a0495 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Mon, 1 Oct 2018 21:19:48 +0200 Subject: [PATCH] Fix breadcrumbs in file picker Signed-off-by: Jan-Christoph Borchardt --- core/css/styles.scss | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/css/styles.scss b/core/css/styles.scss index 2d6df4c393..1cedb7108b 100644 --- a/core/css/styles.scss +++ b/core/css/styles.scss @@ -700,8 +700,10 @@ code { #oc-dialog-filepicker-content { .dirtree { - width: 92%; + width: 96%; flex-wrap: wrap; + padding-left: 12px; + div:first-child a { background-image: url('../img/places/home.svg?v=1'); background-repeat: no-repeat; @@ -1007,6 +1009,9 @@ div.crumb { white-space: nowrap; overflow: hidden; flex: 0 0 auto; + // Some sane max-width for each folder name + max-width: 200px; + &.icon-home { // Hide home text text-indent: -9999px;