From 47111d993dd6308365732ad63e5cdc90823151ee Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 11 Mar 2019 13:41:49 +0000 Subject: [PATCH] Bug 21943: (follow-up) Fix float error with sidebar menu This patch makes a minor change to the staff client CSS to fix a float clearing problem when the
element contains only a floated element like
. It is a global change, but shouldn't cause unwanted effects because a non-clearing
isn't used in any float-dependent layouts. To test, apply the patch and regenerate the staff client CSS. View the place hold screen and confirm that the sidebar menu looks correct at narrower browser widths. Signed-off-by: Liz Rea Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens --- .../intranet-tmpl/prog/css/src/staff-global.scss | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index 61b2605..2844424 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -239,6 +239,12 @@ button { } main { + &::after { + clear: both; + content: " "; + display: table; + } + .yui-b { fieldset { &.brief { -- 1.7.2.5