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);
|
top: var(--header-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.opened #top-nav .menu-button {
|
||||||
|
background: white;
|
||||||
|
color: #006400;
|
||||||
|
}
|
||||||
|
|
||||||
#top-right-nav {
|
#top-right-nav {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -300px;
|
top: -300px;
|
||||||
|
@ -68,7 +68,7 @@ class Header extends Component {
|
|||||||
const { disableSettings, showMobileSidenav } = this.props;
|
const { disableSettings, showMobileSidenav } = this.props;
|
||||||
if (this.state.isMenuOpened && showMobileSidenav) {
|
if (this.state.isMenuOpened && showMobileSidenav) {
|
||||||
return (
|
return (
|
||||||
<header>
|
<header className={this.state.isMenuOpened ? 'opened' : null}>
|
||||||
<nav id='top-nav'>
|
<nav id='top-nav'>
|
||||||
<Link className='home-link' to='/'>
|
<Link className='home-link' to='/'>
|
||||||
<NavLogo />
|
<NavLogo />
|
||||||
|
Reference in New Issue
Block a user