Bug 30952: Fix fieldset legend positioning
authorJulian Maurice <julian.maurice@biblibre.com>
Tue, 13 Sep 2022 14:05:17 +0000 (16:05 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 12 Oct 2022 19:14:28 +0000 (16:14 -0300)
Issue #27

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss

index d4c367d..379324a 100644 (file)
@@ -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 {