Fix/429: app zindex (#438)
* fix: app zindex * fix: remove redundant z-index from toggle buttons
This commit is contained in:
parent
d9fccb137e
commit
66c8d195a2
@ -45,7 +45,7 @@ function VegaTradingApp({ Component, pageProps }: AppProps) {
|
||||
/>
|
||||
<link rel="stylesheet" href="https://static.vega.xyz/fonts.css" />
|
||||
</Head>
|
||||
<div className="h-full dark:bg-black dark:text-white-60 bg-white text-black-60 grid grid-rows-[min-content,1fr]">
|
||||
<div className="h-full dark:bg-black dark:text-white-60 bg-white relative z-0 text-black-60 grid grid-rows-[min-content,1fr]">
|
||||
<div className="flex items-stretch border-b-[7px] border-vega-yellow">
|
||||
<Navbar />
|
||||
<div className="flex items-center gap-4 ml-auto mr-8">
|
||||
|
@ -30,7 +30,7 @@ export const Toggle = ({
|
||||
);
|
||||
const radioClasses = classnames('sr-only', 'peer');
|
||||
const buttonClasses = classnames(
|
||||
'relative peer-checked:z-10 inline-block w-full',
|
||||
'relative inline-block w-full',
|
||||
'border border-black-60 active:border-black dark:border-white-60 dark:active:border-white peer-checked:border-black dark:peer-checked:border-vega-yellow',
|
||||
'group-first-of-type:rounded-tl group-first-of-type:rounded-bl group-last-of-type:rounded-tr group-last-of-type:rounded-br',
|
||||
'px-28 py-4',
|
||||
|
Loading…
Reference in New Issue
Block a user