Skip to content

Commit

Permalink
Fix Dialog to have --salt-zIndex-modal (#4038)
Browse files Browse the repository at this point in the history
  • Loading branch information
origami-z authored Sep 2, 2024
1 parent 01576f3 commit 065d0ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/slow-dodos-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@salt-ds/core": patch
---

Fixed Dialog to have correct `z-index` variable assigned (1300).
2 changes: 1 addition & 1 deletion packages/core/src/dialog/Dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
background: var(--salt-container-primary-background);
box-shadow: var(--salt-overlayable-shadow-modal);
overflow-y: auto;
z-index: var(--salt-zIndex-drawer);
z-index: var(--salt-zIndex-modal);
height: min-content;
border: var(--salt-size-border) var(--salt-container-borderStyle) var(--salt-separable-tertiary-borderColor);
box-sizing: border-box;
Expand Down

0 comments on commit 065d0ca

Please sign in to comment.