Skip to content

Commit

Permalink
Merge pull request #57 from ECN/bug-AppBarPosition-Safari
Browse files Browse the repository at this point in the history
Bug app bar position safari - fix
  • Loading branch information
campb303 authored Sep 30, 2020
2 parents a842ac9 + 58be4d7 commit 5738af2
Showing 1 changed file with 6 additions and 1 deletion.
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

0 comments on commit 5738af2

Please sign in to comment.