Skip to content

Commit

Permalink
Move width declaration to JSS
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Campbell committed Sep 24, 2020
1 parent 2b8d13f commit 58be4d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/ItemViewAppBar/ItemViewAppBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@ export default function ItemViewAppBar(props){
title: {
flexGrow: "1"
},
appBarRoot: {
width: "inherit"
}
}));

const classes = useStyles(props.theme);

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

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

0 comments on commit 58be4d7

Please sign in to comment.