From e752624e6621cda3e9821694d0699e2c91224746 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms Date: Fri, 27 Feb 2026 12:56:52 +0100 Subject: fix problems from !4499, fixes #5820 Closes #5820 Merge request studip/studip!4778 --- resources/assets/stylesheets/scss/forms.scss | 42 ++++++++++++++++++---------- resources/vue/apps/ConsultationCreator.vue | 1 - resources/vue/components/StudipSelect.vue | 12 +++++++- 3 files changed, 38 insertions(+), 17 deletions(-) diff --git a/resources/assets/stylesheets/scss/forms.scss b/resources/assets/stylesheets/scss/forms.scss index 1545c6a..083d289 100644 --- a/resources/assets/stylesheets/scss/forms.scss +++ b/resources/assets/stylesheets/scss/forms.scss @@ -159,13 +159,33 @@ form.default { /* we have to use specific css selectors, otherwise the settings are overwritten by other rules */ - label.col-1, label.col-2, label.col-3, label.col-4, label.col-5, - div.col-1, div.col-2, div.col-3, div.col-4, div.col-5, - section.col-1, section.col-2, section.col-3, section.col-4, section.col-5 { - display: inline-block; - padding-right: 1em; - vertical-align: top; - word-break: break-all; + @for $i from 1 through 5 { + label, + div, + section { + &.col-#{$i} { + display: inline-block; + padding-right: 1em; + vertical-align: top; + word-break: break-all; + + .studip-v-select { + .vs__dropdown-toggle { + padding-bottom: 2px; + } + margin-top: 3px; + } + } + } + + div, + section { + &.col-#{$i} { + label { + margin-bottom: 0; + } + } + } } label, @@ -188,14 +208,6 @@ form.default { } } - div.col-1, - div.col-2, - div.col-3, - div.col-4, - div.col-5 { - margin-top: 2ex; - } - fieldset:not(.undecorated) { box-sizing: border-box; border: solid 1px var(--color--fieldset-border); diff --git a/resources/vue/apps/ConsultationCreator.vue b/resources/vue/apps/ConsultationCreator.vue index ede8387..908f865 100644 --- a/resources/vue/apps/ConsultationCreator.vue +++ b/resources/vue/apps/ConsultationCreator.vue @@ -160,7 +160,6 @@