Skip to content

Commit

Permalink
Changed styling of ItemViewAppBar to fix how its displayed in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wrigh393 committed Feb 8, 2021
1 parent 8623071 commit 6229c48
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/ItemViewAppBar/ItemViewAppBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ export default function ItemViewAppBar({ title, setSidebarOpen }){
flexGrow: "1"
},
appBarRoot: {
width: "inherit",

width: "100%"
},
}));
const classes = useStyles(theme);
Expand All @@ -31,7 +30,7 @@ export default function ItemViewAppBar({ title, setSidebarOpen }){

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

<Toolbar variant="dense">
<Tooltip title={"Close Item"}
Expand Down

0 comments on commit 6229c48

Please sign in to comment.