mirror of
https://gitlab.com/comunic/comunicconsole
synced 2024-11-23 13:59:23 +00:00
Fix scroll issue
This commit is contained in:
parent
d01aa9272c
commit
41d568e493
@ -115,8 +115,17 @@ export function MainRoute() {
|
||||
|
||||
return (
|
||||
<Router>
|
||||
<div
|
||||
style={{
|
||||
height: "100%",
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
}}
|
||||
>
|
||||
<Toolbar></Toolbar>
|
||||
|
||||
<AppBar
|
||||
position="absolute"
|
||||
position="fixed"
|
||||
className={classes.appBar}
|
||||
color="primary"
|
||||
>
|
||||
@ -145,17 +154,16 @@ export function MainRoute() {
|
||||
<div
|
||||
style={{
|
||||
display: "flex",
|
||||
height: "100%",
|
||||
flex: "1",
|
||||
flexDirection: "row",
|
||||
width: "100%",
|
||||
marginTop: "64px",
|
||||
}}
|
||||
>
|
||||
<Paper style={{ width: "200px" }}>
|
||||
<Menu></Menu>
|
||||
</Paper>
|
||||
|
||||
<div style={{ flex: "1", padding: "50px", height: "100%" }}>
|
||||
<div style={{ flex: "1", padding: "50px" }}>
|
||||
<div
|
||||
style={{
|
||||
height: "100%",
|
||||
@ -179,6 +187,7 @@ export function MainRoute() {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</Router>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user