From a661446be851606b8337e240311506c27c05af8f Mon Sep 17 00:00:00 2001 From: Ron Lucke <lucke@elan-ev.de> Date: Mon, 18 Nov 2024 13:55:53 +0000 Subject: [PATCH] Layout Bug: Breite von Labels in Formularen nicht mehr richtig Closes #4871 Merge request studip/studip!3648 --- resources/assets/stylesheets/scss/forms.scss | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/resources/assets/stylesheets/scss/forms.scss b/resources/assets/stylesheets/scss/forms.scss index a9cb286fb42..cdd071a6f14 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); } } -- GitLab