From aa3212100928c9d240a3707f189fd5a01de44cad 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. --- 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 ab2a4228..3bf9a8a 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.1.4