Fix layout action bar fixed instead of sticky

This commit is contained in:
Krzysztof Bialoglowicz 2019-10-22 13:32:45 +02:00
parent 98020ba67f
commit 46baa5102f

View file

@ -42,9 +42,15 @@ import ThemeSwitch from "./ThemeSwitch";
const styles = (theme: Theme) =>
createStyles({
appAction: {
[theme.breakpoints.down("sm")]: {
left: 0,
width: "100%"
},
bottom: 0,
gridColumn: 2,
position: "sticky",
left: 210,
position: "fixed",
width: "calc(100% - 210px)",
zIndex: 10
},
appLoader: {
@ -252,10 +258,7 @@ const styles = (theme: Theme) =>
flex: 1,
flexGrow: 1,
marginLeft: 0,
paddingBottom: theme.spacing.unit,
[theme.breakpoints.up("sm")]: {
paddingBottom: theme.spacing.unit * 3
}
paddingBottom: theme.spacing.unit * 10
}
});