Bug 30952: Fix positioning of fieldset's elements below a legend
authorJulian Maurice <julian.maurice@biblibre.com>
Thu, 15 Sep 2022 08:35:22 +0000 (10:35 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 12 Oct 2022 19:14:49 +0000 (16:14 -0300)
Issue #41

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/_forms.scss
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss

index 6acc93a..bab0823 100644 (file)
@@ -1,4 +1,19 @@
 fieldset {
+    @include card;
+    margin-bottom: 1em;
+    padding: 12px;
+
+    legend {
+        border-bottom: 0 none;
+        color: #696969;
+        float: left;
+        font-weight: bold;
+
+        ~ * {
+            clear: left;
+        }
+    }
+
     fieldset {
         box-shadow: none;
         padding: 0;
index 36f1381..ed0a0dd 100644 (file)
@@ -845,34 +845,12 @@ ol {
 }
 
 fieldset {
-    @include card;
-    width: 100%;
-    color: $green-text-color;
-    position: relative;
-    color: #696969;
-    left: 0;
-    top: 0;
-    margin-bottom: 1em;
-    padding: 1em;
-
     + fieldset {
         &.action {
             padding-top: 20px;
         }
     }
 
-    legend {
-        font-size: 131%;
-        font-weight: bold;
-        border-bottom: none;
-        color: #696969;
-        float: left;
-
-        & + * {
-            clear: both;
-        }
-    }
-
     &.lastchecked {
         border-bottom-left-radius: 0;
         border-bottom-right-radius: 0;