fix: inherit bg on hover
This commit is contained in:
@@ -163,6 +163,9 @@ export const NavBar: React.FC<NavBarProps> = ({
|
||||
onClick={toggleTheme}
|
||||
sx={{
|
||||
color: darkMode ? '#ffffff' : '#0000008A',
|
||||
'&:hover': {
|
||||
background: 'inherit'
|
||||
}
|
||||
}}
|
||||
>
|
||||
{darkMode ? <LightMode /> : <DarkMode />}
|
||||
|
||||
Reference in New Issue
Block a user