From 4e8a43bf7e32c6991b2620a6b34063b3fa670596 Mon Sep 17 00:00:00 2001 From: Laila Los <44241786+ElectronicBlueberry@users.noreply.github.com> Date: Thu, 28 Sep 2023 12:12:22 +0200 Subject: [PATCH 1/2] remove margin for labels with for attribute --- client/src/style/scss/overrides.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/src/style/scss/overrides.scss b/client/src/style/scss/overrides.scss index 13b491f7dc28..8c647d74517f 100644 --- a/client/src/style/scss/overrides.scss +++ b/client/src/style/scss/overrides.scss @@ -218,3 +218,8 @@ table.info_data_table th:nth-child(1) { .sticky-top { z-index: 800; } + +// remove margin for labels with for attribute +label[for] { + margin-bottom: 0; +} From b278a31fb566fffcadc59cc6cfcf8d9ef460303b Mon Sep 17 00:00:00 2001 From: Laila Los <44241786+ElectronicBlueberry@users.noreply.github.com> Date: Thu, 28 Sep 2023 12:55:14 +0200 Subject: [PATCH 2/2] increase gap after form elements --- client/src/components/Form/FormElement.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/Form/FormElement.vue b/client/src/components/Form/FormElement.vue index f5f972c0d350..7a5841e7338b 100644 --- a/client/src/components/Form/FormElement.vue +++ b/client/src/components/Form/FormElement.vue @@ -325,7 +325,7 @@ const isOptional = computed(() => !isRequired.value && attrs.value["optional"] ! .ui-form-element { margin-top: $margin-v * 0.25; - margin-bottom: $margin-v * 0.25; + margin-bottom: $margin-v * 0.5; overflow: visible; clear: both;