Skip to content

Commit

Permalink
Revise the default value of the z-index from 100 to 999, to ensure it…
Browse files Browse the repository at this point in the history
… always be shown in the front layer (#2084)

Co-authored-by: tomiir <rocchitomas@gmail.com>
  • Loading branch information
Phillweston and tomiir committed Apr 8, 2024
1 parent 9c5555d commit 28f9bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/utils/ThemeUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function createRootStyles(themeVariables?: ThemeVariables) {
--w3m-border-radius-master: ${unsafeCSS(
themeVariables?.['--w3m-border-radius-master'] || '4px'
)};
--w3m-z-index: ${unsafeCSS(themeVariables?.['--w3m-z-index'] || 100)};
--w3m-z-index: ${unsafeCSS(themeVariables?.['--w3m-z-index'] || 999)};
--wui-font-family: var(--w3m-font-family);
Expand Down

0 comments on commit 28f9bf1

Please sign in to comment.