From 532b69667336ae668f6d3ffa793cf13c5c0946d2 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Tue, 13 Sep 2022 16:05:17 +0200 Subject: [PATCH] Bug 30952: Fix fieldset legend positioning Issue #27 --- .../intranet-tmpl/prog/css/src/staff-global.scss | 12 +++++++----- 1 file changed, 7 insertions(+), 5 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 d4c367d5a9..379324a005 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -868,7 +868,7 @@ fieldset { color: #696969; left: 0; top: 0; - margin: 0 1em 1em 0; + margin-bottom: 1em; padding: 1em; + fieldset { @@ -878,13 +878,15 @@ fieldset { } legend { - position: relative; - top: 1.5em; - margin: .5em 0; font-size: 131%; font-weight: bold; - color: #696969; border-bottom: none; + color: #696969; + float: left; + + & + * { + clear: both; + } } &.lastchecked { -- 2.30.2