From 95e22937778ba2269b0ed2aad10cb2eb8296fbb1 Mon Sep 17 00:00:00 2001 From: Valerii Sidorenko Date: Wed, 10 Apr 2024 15:02:33 +0200 Subject: [PATCH] fix(TableColumnSetup): switcher wraper styles --- .../withTableSettings/TableColumnSetup/TableColumnSetup.scss | 2 ++ src/components/TableColumnSetup/TableColumnSetup.scss | 2 -- src/components/TableColumnSetup/TableColumnSetup.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Table/hoc/withTableSettings/TableColumnSetup/TableColumnSetup.scss b/src/components/Table/hoc/withTableSettings/TableColumnSetup/TableColumnSetup.scss index 003c2f5d69..aba68b4df8 100644 --- a/src/components/Table/hoc/withTableSettings/TableColumnSetup/TableColumnSetup.scss +++ b/src/components/Table/hoc/withTableSettings/TableColumnSetup/TableColumnSetup.scss @@ -3,6 +3,8 @@ $block: '.#{variables.$ns}inner-table-column-setup'; #{$block} { + display: inline-block; + &__controls { margin: var(--g-spacing-1) var(--g-spacing-1) 0; } diff --git a/src/components/TableColumnSetup/TableColumnSetup.scss b/src/components/TableColumnSetup/TableColumnSetup.scss index f95d92aa52..e1efacdfdf 100644 --- a/src/components/TableColumnSetup/TableColumnSetup.scss +++ b/src/components/TableColumnSetup/TableColumnSetup.scss @@ -3,8 +3,6 @@ $block: '.#{variables.$ns}table-column-setup'; #{$block} { - display: inline-block; - &__status { margin-inline-start: 5px; color: var(--g-color-text-secondary); diff --git a/src/components/TableColumnSetup/TableColumnSetup.tsx b/src/components/TableColumnSetup/TableColumnSetup.tsx index cca38e2fd3..e7ba572eda 100644 --- a/src/components/TableColumnSetup/TableColumnSetup.tsx +++ b/src/components/TableColumnSetup/TableColumnSetup.tsx @@ -124,7 +124,7 @@ export const TableColumnSetup = (props: TableColumnSetupProps) => { popupWidth={popupWidth} renderSwitcher={renderSwitcher} sortable={sortable} - className={className} + className={b(null, className)} /> ); };