From 4ff30cee372087939d09633c164ffeee2282d99e Mon Sep 17 00:00:00 2001 From: Silke Pisulla Date: Tue, 2 May 2017 12:57:30 +0200 Subject: [PATCH] SPR-908: firefox aside padding in nav --- css/area_main-sidebar-nav.less | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/css/area_main-sidebar-nav.less b/css/area_main-sidebar-nav.less index 143f232..1243b21 100755 --- a/css/area_main-sidebar-nav.less +++ b/css/area_main-sidebar-nav.less @@ -91,10 +91,9 @@ // the toggle element a { + cursor: pointer; display: table; width: 100%; - - cursor: pointer; min-height: @icon-size + @margin-small; opacity: 1; border: 1px solid transparent; @@ -103,6 +102,8 @@ font-size: @font-size-head6; font-weight: normal; margin: -1px 0 (@font-size-head6 / 2); // moves the toggles back to the left (.4 from li margin) + padding-bottom: .4rem; + padding-top: .4rem; transition: @transition color, @transition background-color, @transition border-color; span { @@ -200,6 +201,7 @@ min-width: @menu-margin; height: @icon-size; text-align: center; + vertical-align: middle; color: inherit; &::after { @@ -217,7 +219,7 @@ // wordbreak too late in IE 10 @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { - top: .5rem; + top: 0; bottom: .5rem; height: 100%; margin: 0;