Fix bug with overlay zindex

This commit is contained in:
Senad Uka
2019-06-23 20:23:35 +02:00
parent 755f056abb
commit 41b5ebb5d7
3 changed files with 6 additions and 8 deletions

View File

@@ -37,11 +37,7 @@
width: 100%;
}
.noscrolling {
overflow: hidden;
}
.autoscroling {
overflow: auto;
.sidenav-overlay {
z-index: 996;
}

View File

@@ -14,9 +14,9 @@ function App() {
return (
<Router className="noscrolling">
<Router>
<div className="navbar-fixed">
<Navbar brand={<div>GKS</div>} alignLinks="right">
<RoutableNavItem href={CRIB}>
Crib
</RoutableNavItem>
@@ -31,6 +31,7 @@ function App() {
</Navbar>
</div>
<div className="autoscrolling">
<Route exact path={CRIB} component={Cash} />
<Route path={MAKE_MONEY_MOVE} component={MakeMoneyMove} />

View File

@@ -9,6 +9,7 @@ const MakeMoneyMove = (props) => {
return (
<div>
<h3>Make Money Move</h3>
<TextInput label="How Much?" />
<label>From: </label>
<Collection>