Skip to content

Commit

Permalink
Raise z-index of Filters container to be below Card shadow bevel
Browse files Browse the repository at this point in the history
  • Loading branch information
sophschneider committed Jan 17, 2024
1 parent f1b44ab commit 572d3eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/selfish-ads-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/polaris': patch
---

Raised the z-index of `Filter`s container to be below `Card` shadow bevel
3 changes: 2 additions & 1 deletion polaris-react/src/components/Filters/Filters.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

.Container {
position: relative;
z-index: var(--p-z-index-1);
// stylelint-disable-next-line -- z-index below Card shadow bevel (32)
z-index: 30;
border-bottom: var(--p-border-width-025) solid var(--p-color-border-secondary);
border-top-left-radius: var(--p-border-radius-200);
border-top-right-radius: var(--p-border-radius-200);
Expand Down

0 comments on commit 572d3eb

Please sign in to comment.