From 42c724de261cb872d84ff8ce0cb214be2949091b Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Tue, 26 Mar 2024 10:58:42 +0100 Subject: [PATCH] module.less: Fix align of action-bar and sort control Use regular font-size (1em) for action-bar --- public/css/module.less | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/public/css/module.less b/public/css/module.less index f048863f..066a287a 100644 --- a/public/css/module.less +++ b/public/css/module.less @@ -10,18 +10,19 @@ a:focus { float: left; display: flex; align-items: center; - font-size: 1.3em; color: @icinga-blue; + margin-bottom: 0.5em; + margin-right: 0.5em; + + & > *:not(:last-child) { + margin-right: 1em; + } > a { &:hover::before { text-decoration: none; } - &:not(:last-child) { - margin-right: 1em; - } - &.button-link { color: @text-color-on-icinga-blue; background: @icinga-blue; @@ -29,16 +30,10 @@ a:focus { &:active, &:focus { text-decoration: none; } - - &:last-child { - margin-left: auto; - } } } > div.view-toggle { - margin-right: 1em; - span { color: @gray; margin-right: .5em; @@ -78,7 +73,7 @@ a:focus { } .controls { - &.sort-control, + .sort-control, &.want-fullscreen > a { float: right; }