From 9f30e05594384de10650223bae41706f0871ea41 Mon Sep 17 00:00:00 2001 From: Mojca Lorber Date: Mon, 23 Sep 2019 14:34:48 +0200 Subject: [PATCH] Expand clickable area of links in secondary navigation --- app/assets/stylesheets/partials/_tree_view.scss | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/app/assets/stylesheets/partials/_tree_view.scss b/app/assets/stylesheets/partials/_tree_view.scss index 62b5da4d2..f7f4b65e3 100644 --- a/app/assets/stylesheets/partials/_tree_view.scss +++ b/app/assets/stylesheets/partials/_tree_view.scss @@ -77,6 +77,7 @@ // Links are recolored a { color: $color-emperor; + position: relative; &.disabled { color: $color-white; @@ -93,6 +94,22 @@ } } + .tree-link { + display: flex; + + a:not(.canvas-center-on) { + width: 100%; + } + + a:not(.canvas-center-on)::after { + height: 48px; + left: -3px; + position: absolute; + top: -18px; + width: 100%; + } + } + #settings { .fa-caret-right { margin-left: -15px;