Skip to content

Commit

Permalink
Merge pull request #87 from ECN/bug-ItemViewAppBar-not-allowing-scrol…
Browse files Browse the repository at this point in the history
…ling

Removed class from the Toolbar component in ItemViewAppBar that was causing ItemBodyView to not be scrollable
  • Loading branch information
campb303 authored Oct 27, 2020
2 parents 7f29921 + 85cd6c2 commit 997f9b9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/components/ItemViewAppBar/ItemViewAppBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ export default function ItemViewAppBar({ title, setSidebarOpen }){
},
appBarRoot: {
width: "inherit",
position: "inherit"

},
paddingToolbar: {
position: "absolute"
}
}));
const classes = useStyles(theme);

Expand Down Expand Up @@ -55,7 +52,7 @@ export default function ItemViewAppBar({ title, setSidebarOpen }){
</Typography>
</Toolbar>
</AppBar>
<Toolbar classes={{root: classes.paddingToolbar}} variant="dense"/>
<Toolbar variant="dense"/>
</>
);
}
Expand Down

0 comments on commit 997f9b9

Please sign in to comment.