From 4068691078842388da23ce9102c437a302c5a3c7 Mon Sep 17 00:00:00 2001 From: zadam Date: Tue, 12 Nov 2019 23:02:47 +0100 Subject: [PATCH] better expander positioning --- src/public/stylesheets/desktop.css | 7 ++++--- src/public/stylesheets/style.css | 6 ++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/public/stylesheets/desktop.css b/src/public/stylesheets/desktop.css index fe52dac04..9622e07da 100644 --- a/src/public/stylesheets/desktop.css +++ b/src/public/stylesheets/desktop.css @@ -122,13 +122,14 @@ li.dropdown-submenu:hover > ul.dropdown-menu { .fancytree-loading span.fancytree-expander { width: 16px; height: 16px; - margin-left: 6px; + margin-left: 2px; } -.fancytree-loading span.fancytree-expander:after { +.fancytree-loading span.fancytree-expander:after { width: 12px; height: 12px; - margin-top: 2px; + margin-top: 4px; + margin-left: 1px; border-width: 1px; border-style: solid; } diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css index 237258a39..12d82a48c 100644 --- a/src/public/stylesheets/style.css +++ b/src/public/stylesheets/style.css @@ -52,7 +52,7 @@ ul.fancytree-container { height: auto; text-align: center; position: relative; - top: -8px; + top: -5px; } .fancytree-node:not(.fancytree-loading) .fancytree-expander:before { @@ -71,6 +71,8 @@ ul.fancytree-container { .fancytree-node.fancytree-expanded .fancytree-expander:before { content: "\2304"; + position: relative; + top: -10px; } .note-title[readonly] { @@ -728,7 +730,7 @@ div[data-notify="container"] { display: inline-block; } -.fancytree-loading span.fancytree-expander:after { +.fancytree-loading span.fancytree-expander:after { content: " "; display: block; border-radius: 50%;