From 176f1ddeac5b78ab7802e16976577c3c27876f0f Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Tue, 16 Jul 2024 12:24:37 +0200 Subject: [PATCH] refactor: Improve design of declarative settings * Remove the hint from DOM if empty (otherways they still take some place in layout) * Individual fields of the same section should not be spaced 60px, 20px (2x 10px) should be enough * We have the type `multi-checkbox` for real checkboxes where you can select on of multiple, and we have `checkbox` which is only used for enable / disable, so we shall use `switch` type of the checkbox component as we do for all other (non declarative) settings Signed-off-by: Ferdinand Thiessen --- .../DeclarativeSettings/DeclarativeSection.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/settings/src/components/DeclarativeSettings/DeclarativeSection.vue b/apps/settings/src/components/DeclarativeSettings/DeclarativeSection.vue index 0a5e2415668df..a4e01bcef7de0 100644 --- a/apps/settings/src/components/DeclarativeSettings/DeclarativeSection.vue +++ b/apps/settings/src/components/DeclarativeSettings/DeclarativeSection.vue @@ -28,7 +28,7 @@ @update:value="onChangeDebounced(formField)" @submit="updateDeclarativeSettingsValue(formField)" /> - {{ t(formApp, formField.description) }} + {{ t(formApp, formField.description) }} @@ -228,7 +229,6 @@ export default {