diff --git a/plugins/woocommerce-admin/packages/components/src/filters/advanced/date-filter.js b/plugins/woocommerce-admin/packages/components/src/filters/advanced/date-filter.js index 98faedce7f7..264667bdc9d 100644 --- a/plugins/woocommerce-admin/packages/components/src/filters/advanced/date-filter.js +++ b/plugins/woocommerce-admin/packages/components/src/filters/advanced/date-filter.js @@ -215,7 +215,7 @@ class DateFilter extends Component { } ); /*eslint-disable jsx-a11y/no-noninteractive-tabindex*/ return ( -
+
{ labels.add || '' }
) } } diff --git a/plugins/woocommerce-admin/packages/components/src/filters/advanced/number-filter.js b/plugins/woocommerce-admin/packages/components/src/filters/advanced/number-filter.js index c16b98f4dd4..632abfad5ab 100644 --- a/plugins/woocommerce-admin/packages/components/src/filters/advanced/number-filter.js +++ b/plugins/woocommerce-admin/packages/components/src/filters/advanced/number-filter.js @@ -217,7 +217,7 @@ class NumberFilter extends Component { /*eslint-disable jsx-a11y/no-noninteractive-tabindex*/ return ( -
+
{ labels.add || '' } diff --git a/plugins/woocommerce-admin/packages/components/src/filters/advanced/search-filter.js b/plugins/woocommerce-admin/packages/components/src/filters/advanced/search-filter.js index 92189a5b006..d1844a505f3 100644 --- a/plugins/woocommerce-admin/packages/components/src/filters/advanced/search-filter.js +++ b/plugins/woocommerce-admin/packages/components/src/filters/advanced/search-filter.js @@ -106,7 +106,7 @@ class SearchFilter extends Component { /*eslint-disable jsx-a11y/no-noninteractive-tabindex*/ return ( -
+
{ labels.add || '' } diff --git a/plugins/woocommerce-admin/packages/components/src/filters/advanced/select-filter.js b/plugins/woocommerce-admin/packages/components/src/filters/advanced/select-filter.js index b967e6daf97..386eae3f7a2 100644 --- a/plugins/woocommerce-admin/packages/components/src/filters/advanced/select-filter.js +++ b/plugins/woocommerce-admin/packages/components/src/filters/advanced/select-filter.js @@ -98,7 +98,7 @@ class SelectFilter extends Component { /*eslint-disable jsx-a11y/no-noninteractive-tabindex*/ return ( -
+
{ labels.add || '' } diff --git a/plugins/woocommerce-admin/packages/components/src/filters/advanced/style.scss b/plugins/woocommerce-admin/packages/components/src/filters/advanced/style.scss index a373997aaee..f729c0b03c0 100644 --- a/plugins/woocommerce-admin/packages/components/src/filters/advanced/style.scss +++ b/plugins/woocommerce-admin/packages/components/src/filters/advanced/style.scss @@ -45,18 +45,22 @@ padding: 0 $gap 0 0; margin: 0; display: grid; - grid-template-columns: auto 40px; + grid-template-columns: 1fr 40px; background-color: $core-grey-light-100; border-bottom: 1px solid $core-grey-light-700; - fieldset { - padding: $gap-smaller $gap-smaller $gap-smaller $gap; - } - &:hover { background-color: $core-grey-light-200; } + .woocommerce-filters-advanced__line-item { + @include set-grid-item-position( 2, 2 ); + } + + fieldset { + padding: $gap-smaller $gap-smaller $gap-smaller $gap; + } + .woocommerce-filters-advanced__remove { width: 40px; height: 38px;