Fix z-index issue in Filter by Attribute dropdowns (https://github.com/woocommerce/woocommerce-blocks/pull/6981)

* Fix z-index issue in Filter by Attribute dropdowns

* Remove unnecessary z-index property
This commit is contained in:
Albert Juhé Lluveras 2022-08-25 13:55:33 +02:00 committed by GitHub
parent 90562ae3e0
commit 2c1dacdd93
1 changed files with 0 additions and 7 deletions

View File

@ -17,7 +17,6 @@
margin-bottom: $gap; margin-bottom: $gap;
border-radius: inherit; border-radius: inherit;
border-color: inherit; border-color: inherit;
z-index: 30;
&.style-dropdown { &.style-dropdown {
position: relative; position: relative;
@ -32,17 +31,11 @@
line-height: 1; line-height: 1;
} }
> .wc-blocks-components-form-token-field-wrapper {
position: relative;
z-index: 2;
}
> svg { > svg {
position: absolute; position: absolute;
right: 20px; right: 20px;
top: 50%; top: 50%;
transform: translateY(-50%); transform: translateY(-50%);
z-index: 1;
} }
} }