From c035a4e71a375b2d9b8c5d5504706096052a1531 Mon Sep 17 00:00:00 2001 From: GermanVor Date: Sun, 11 Feb 2024 01:15:32 +0100 Subject: [PATCH] chore: used style variable for padding --- .../withTableSettings/TableColumnSetup/TableColumnSetup.scss | 2 +- src/components/TreeSelect/TreeSelectItem/TreeSelectItem.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Table/hoc/withTableSettings/TableColumnSetup/TableColumnSetup.scss b/src/components/Table/hoc/withTableSettings/TableColumnSetup/TableColumnSetup.scss index e74511c417..92c8fc42e9 100644 --- a/src/components/Table/hoc/withTableSettings/TableColumnSetup/TableColumnSetup.scss +++ b/src/components/Table/hoc/withTableSettings/TableColumnSetup/TableColumnSetup.scss @@ -4,7 +4,7 @@ $block: '.#{variables.$ns}table-column-setup'; #{$block} { &__apply { - margin: 4px 4px 0; + margin: var(--g-spacing-1) var(--g-spacing-1) 0; } // to override this https://github.com/gravity-ui/uikit/blob/main/src/components/useList/components/ListItemView/ListItemView.scss#L25 diff --git a/src/components/TreeSelect/TreeSelectItem/TreeSelectItem.scss b/src/components/TreeSelect/TreeSelectItem/TreeSelectItem.scss index 3050061dff..1e9abaf47d 100644 --- a/src/components/TreeSelect/TreeSelectItem/TreeSelectItem.scss +++ b/src/components/TreeSelect/TreeSelectItem/TreeSelectItem.scss @@ -3,5 +3,5 @@ $block: '.#{variables.$ns}tree-select-item'; #{$block} { - padding: 0 4px; + padding: 0 var(--g-spacing-1); }