From 9ae1e3303cc94e37570484392cf47574019c2c39 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Thu, 19 Dec 2024 15:19:43 +0000 Subject: [PATCH] Bug 36285: (QA follow-up): Apply new style only to form elements inside fieldset->li Styling was being applied where it shouldn't. This is to address Katrin's comment: * In the messaging preferences table, the pull down for "days in advance" is now too small to fit the number. Without the patch the width is ok. --- .../intranet-tmpl/prog/css/src/_forms.scss | 57 ++++++++++--------- 1 file changed, 29 insertions(+), 28 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/_forms.scss b/koha-tmpl/intranet-tmpl/prog/css/src/_forms.scss index 1f4736d5dbf..48569a29574 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/_forms.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/_forms.scss @@ -1,34 +1,6 @@ fieldset { @include card; - .v-select, - select, - textarea, - input{ - &:not([type="submit"]):not([type="search"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]) { - border-color: rgba(60, 60, 60, 0.26); - border-width: 1px; - border-radius: 4px; - min-width: 30%; - line-height: 1.5; - } - } - - .v-select, - select { - display: inline-block; - background-color: white; - width: 30%; - } - - select { - padding: 2px 0; - } - - .flatpickr-input { - width: 30%; - } - legend { border-bottom: 0 none; color: #696969; @@ -148,6 +120,35 @@ fieldset { } li { + + .v-select, + select, + textarea, + input{ + &:not([type="submit"]):not([type="search"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]) { + border-color: rgba(60, 60, 60, 0.26); + border-width: 1px; + border-radius: 4px; + min-width: 30%; + line-height: 1.5; + } + } + + .v-select, + select { + display: inline-block; + background-color: white; + width: 30%; + } + + select { + padding: 2px 0; + } + + .flatpickr-input { + width: 30%; + } + clear: left; float: left; list-style-type: none; -- 2.39.5