Skip to content

Removed class from the Toolbar component in ItemViewAppBar that was causing ItemBodyView to not be scrollable #87

Merged
merged 1 commit into from
Oct 27, 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: 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