From 37c802a7220c2a083b5bb289b8a32035fe1fb329 Mon Sep 17 00:00:00 2001 From: Stepan Pavlenko Date: Thu, 26 Sep 2024 19:48:51 +0300 Subject: [PATCH] Fix layout --- src/ui/components/DatasetFieldList/DatasetFieldList.scss | 6 ++---- src/ui/components/DialogFilter/DialogFilter.scss | 3 --- src/ui/components/FieldEditor/FieldEditor.scss | 2 -- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/ui/components/DatasetFieldList/DatasetFieldList.scss b/src/ui/components/DatasetFieldList/DatasetFieldList.scss index 31799a4980..404b05b12d 100644 --- a/src/ui/components/DatasetFieldList/DatasetFieldList.scss +++ b/src/ui/components/DatasetFieldList/DatasetFieldList.scss @@ -7,8 +7,7 @@ align-items: center; width: 100%; height: 100%; - padding-left: var(--dl-dataset-field-list-item-padding-left); - padding-right: var(--dl-dataset-field-list-item-padding-right); + padding-inline: var(--dl-dataset-field-list-item-padding-inline); cursor: pointer; } @@ -39,7 +38,6 @@ } :root { - --dl-dataset-field-list-item-padding-left: 10px; - --dl-dataset-field-list-item-padding-right: 10px; + --dl-dataset-field-list-item-padding-inline: 32px; --dl-dataset-field-filter-padding: unset; } diff --git a/src/ui/components/DialogFilter/DialogFilter.scss b/src/ui/components/DialogFilter/DialogFilter.scss index 6e8fc0177a..26a70cdf20 100644 --- a/src/ui/components/DialogFilter/DialogFilter.scss +++ b/src/ui/components/DialogFilter/DialogFilter.scss @@ -81,7 +81,4 @@ & .g-dialog-footer__children { position: relative; } - - --dl-dataset-field-list-item-padding-left: 32px; - --dl-dataset-field-list-item-padding-right: 5px; } diff --git a/src/ui/components/FieldEditor/FieldEditor.scss b/src/ui/components/FieldEditor/FieldEditor.scss index 6943a944f1..496da808e5 100644 --- a/src/ui/components/FieldEditor/FieldEditor.scss +++ b/src/ui/components/FieldEditor/FieldEditor.scss @@ -228,6 +228,4 @@ margin: 16px 16px 10px 32px; z-index: 0; } - - --dl-dataset-field-list-item-padding-left: #{$controlsPaddingSide}; }