Skip to content

Commit 343f6fd

Browse files
committed
fix: inherit bg on hover
1 parent ca6615f commit 343f6fd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/dashboard/NavBar.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,9 @@ export const NavBar: React.FC<NavBarProps> = ({
163163
onClick={toggleTheme}
164164
sx={{
165165
color: darkMode ? '#ffffff' : '#0000008A',
166+
'&:hover': {
167+
background: 'inherit'
168+
}
166169
}}
167170
>
168171
{darkMode ? <LightMode /> : <DarkMode />}

0 commit comments

Comments
 (0)