Commit 79217de9 authored by tom's avatar tom

fix z-index of web3 modal

parent 87a6126d
...@@ -10,9 +10,9 @@ export const zIndex = { ...@@ -10,9 +10,9 @@ export const zIndex = {
banner: { value: 1200 }, banner: { value: 1200 },
overlay: { value: 1300 }, overlay: { value: 1300 },
modal: { value: 1400 }, modal: { value: 1400 },
modal2: { value: 14001 },
tooltip: { value: 1550 }, // otherwise tooltips will not be visible in modals tooltip: { value: 1550 }, // otherwise tooltips will not be visible in modals
tooltip2: { value: 1551 }, // for tooltips in tooltips tooltip2: { value: 1551 }, // for tooltips in tooltips
skipLink: { value: 1600 },
toast: { value: 1700 }, toast: { value: 1700 },
}; };
......
...@@ -40,7 +40,7 @@ const init = () => { ...@@ -40,7 +40,7 @@ const init = () => {
'--w3m-font-family': `${ BODY_TYPEFACE }, sans-serif`, '--w3m-font-family': `${ BODY_TYPEFACE }, sans-serif`,
'--w3m-accent': colors.blue[600].value, '--w3m-accent': colors.blue[600].value,
'--w3m-border-radius-master': '2px', '--w3m-border-radius-master': '2px',
'--w3m-z-index': zIndex?.popover?.value, '--w3m-z-index': zIndex?.modal2?.value,
}, },
featuredWalletIds: [], featuredWalletIds: [],
allowUnsupportedChain: true, allowUnsupportedChain: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment