fix: inherit background on hover

This commit is contained in:
Karishma Shukla
2025-06-27 17:36:26 +05:30
committed by GitHub
parent 22c841e793
commit 0b8a03e0bc

View File

@@ -365,6 +365,9 @@ export const NavBar: React.FC<NavBarProps> = ({
borderRadius: '5px', borderRadius: '5px',
padding: '8px', padding: '8px',
marginRight: '10px', marginRight: '10px',
'&:hover': {
background: 'inherit'
}
}}> }}>
<AccountCircle sx={{ marginRight: '5px' }} /> <AccountCircle sx={{ marginRight: '5px' }} />
<Typography variant="body1">{user.email}</Typography> <Typography variant="body1">{user.email}</Typography>