diff --git a/packages/components/src/components/data-table/_data-table-action.scss b/packages/components/src/components/data-table/_data-table-action.scss index 9d7746b94372..baa510c927c4 100644 --- a/packages/components/src/components/data-table/_data-table-action.scss +++ b/packages/components/src/components/data-table/_data-table-action.scss @@ -123,6 +123,12 @@ } } + .#{$prefix}--toolbar-search-container-expandable + .#{$prefix}--search + .#{$prefix}--search-close:focus::before { + background-color: $focus; + } + //------------------------------------------------- //ACTIVE SEARCH - DEFAULT TOOLBAR //------------------------------------------------- @@ -141,7 +147,7 @@ .#{$prefix}--toolbar-search-container-active .#{$prefix}--search .#{$prefix}--search-input { - padding-left: $spacing-09; + padding: 0 $spacing-09; visibility: inherit; } @@ -197,6 +203,11 @@ background-color: transparent; } + .#{$prefix}--toolbar-search-container-persistent + .#{$prefix}--search-close::before { + display: none; + } + //------------------------------------------------- //TOOLBAR BUTTONS //------------------------------------------------- @@ -296,7 +307,7 @@ .#{$prefix}--search .#{$prefix}--search-input { height: $layout-04; - padding-left: $spacing-09; + padding: 0 $spacing-09; border: none; } @@ -513,7 +524,7 @@ .#{$prefix}--toolbar-search-container-expandable .#{$prefix}--search .#{$prefix}--search-input { - padding-left: $spacing-xl; + padding: 0 $spacing-09; } //active