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%; width: 100%;
} }
.noscrolling { .sidenav-overlay {
overflow: hidden; z-index: 996;
}
.autoscroling {
overflow: auto;
} }

View File

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

View File

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