I want to remove the shadow that appears on the navbar when it overlaps with the sidebar.
https://i.sstatic.net/eHh0u.png
Currently, I am using Material-UI's AppBar component for my NavBar.
export default function NavBar() {
return (
<div>
<AppBar position="fixed" elevation={4}>
<Toolbar variant="regular">
<IconButton edge="start" color="inherit" aria-label="menu">
<MenuIcon />
</IconButton>
</Toolbar>
</AppBar>
</div>
);
}
In addition, I have a custom sidebar component,
.sidebar {
left: 0;
top: 64px;
height: 100vh;
width: 70px;
background-color: #3f50b5;
position: fixed;
}
.sidebar::before{
display: none;
}
I specifically want to eliminate the shadows from the Navbar only in the section where it overlays the Sidebar.