From 162dc85d3c20304dc235b908b43536f7c0227692 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 --- koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 6 ++++++ 1 file changed, 6 insertions(+) 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 61b26051d0..2844424e29 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 { -- 2.11.0