fix: change button color on click
This commit is contained in:
committed by
Stuart Taylor
parent
357b824033
commit
210454444d
@ -197,6 +197,11 @@ header {
|
||||
top: var(--header-height);
|
||||
}
|
||||
|
||||
.opened #top-nav .menu-button {
|
||||
background: white;
|
||||
color: #006400;
|
||||
}
|
||||
|
||||
#top-right-nav {
|
||||
position: absolute;
|
||||
top: -300px;
|
||||
|
@ -68,7 +68,7 @@ class Header extends Component {
|
||||
const { disableSettings, showMobileSidenav } = this.props;
|
||||
if (this.state.isMenuOpened && showMobileSidenav) {
|
||||
return (
|
||||
<header>
|
||||
<header className={this.state.isMenuOpened ? 'opened' : null}>
|
||||
<nav id='top-nav'>
|
||||
<Link className='home-link' to='/'>
|
||||
<NavLogo />
|
||||
|
Reference in New Issue
Block a user