aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRon Lucke <lucke@elan-ev.de>2024-11-18 13:55:53 +0000
committerRon Lucke <lucke@elan-ev.de>2024-11-18 13:55:53 +0000
commita661446be851606b8337e240311506c27c05af8f (patch)
tree84e827bd0533241c32b27a8919b13e084a9145ac
parent16d821844fbd1127be5c3776f4d7a5b64945a095 (diff)
Layout Bug: Breite von Labels in Formularen nicht mehr richtigissue-4884
Closes #4871 Merge request studip/studip!3648
-rw-r--r--resources/assets/stylesheets/scss/forms.scss8
1 files changed, 3 insertions, 5 deletions
diff --git a/resources/assets/stylesheets/scss/forms.scss b/resources/assets/stylesheets/scss/forms.scss
index a9cb286..cdd071a 100644
--- a/resources/assets/stylesheets/scss/forms.scss
+++ b/resources/assets/stylesheets/scss/forms.scss
@@ -203,7 +203,7 @@ form.default {
border: solid 1px var(--color--fieldset-border);
margin: 0 0 15px;
min-width: auto;
- padding: 0 0 10px 0;
+ padding: 0 10px 10px 10px;
> legend {
box-sizing: border-box;
@@ -212,8 +212,8 @@ form.default {
border-bottom: 0;
font-size: $font-size-h3;
padding: 10px;
- margin: 0 0 10px -1px;
- width: calc(100% + 2px);
+ margin: 0 0 10px -11px;
+ width: calc(100% + 22px);
}
// Insert invisible element that corrects double padding/margin at the
@@ -225,8 +225,6 @@ form.default {
}
> :not(legend) {
- margin-left: 10px;
- margin-right: 10px;
max-width: calc(100% - 20px);
}
}