Skip to content

Bug app bar position safari - fix #57

Merged
merged 3 commits into from
Sep 30, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/components/ItemViewAppBar/ItemViewAppBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@ export default function ItemViewAppBar(props){
title: {
flexGrow: "1"
},
appBarRoot: {
width: "inherit"
}
}));

const classes = useStyles(props.theme);

return(
<>
<AppBar position="sticky" color="secondary" elevation={2}>
<AppBar position="fixed" color="secondary" elevation={2} classes={{root: classes.appBarRoot}}>

<Toolbar variant="dense">
<Tooltip title={"Close Item"}
arrow
Expand All @@ -35,6 +39,7 @@ export default function ItemViewAppBar(props){
</Typography>
</Toolbar>
</AppBar>
<Toolbar variant="dense"/>
</>
);
}
Expand Down