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 (
|
return (
|
||||||
<Router>
|
<Router>
|
||||||
|
<div
|
||||||
|
style={{
|
||||||
|
height: "100%",
|
||||||
|
display: "flex",
|
||||||
|
flexDirection: "column",
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<Toolbar></Toolbar>
|
||||||
|
|
||||||
<AppBar
|
<AppBar
|
||||||
position="absolute"
|
position="fixed"
|
||||||
className={classes.appBar}
|
className={classes.appBar}
|
||||||
color="primary"
|
color="primary"
|
||||||
>
|
>
|
||||||
@ -145,17 +154,16 @@ export function MainRoute() {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
display: "flex",
|
display: "flex",
|
||||||
height: "100%",
|
flex: "1",
|
||||||
flexDirection: "row",
|
flexDirection: "row",
|
||||||
width: "100%",
|
width: "100%",
|
||||||
marginTop: "64px",
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Paper style={{ width: "200px" }}>
|
<Paper style={{ width: "200px" }}>
|
||||||
<Menu></Menu>
|
<Menu></Menu>
|
||||||
</Paper>
|
</Paper>
|
||||||
|
|
||||||
<div style={{ flex: "1", padding: "50px", height: "100%" }}>
|
<div style={{ flex: "1", padding: "50px" }}>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
height: "100%",
|
height: "100%",
|
||||||
@ -179,6 +187,7 @@ export function MainRoute() {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</Router>
|
</Router>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user