Skip to content
Snippets Groups Projects
Unverified Commit 7b4e6119 authored by aeschylus's avatar aeschylus Committed by GitHub
Browse files

Merge pull request #2131 from ProjectMirador/companion-window-gutter

Disable gutters on the companion window toolbar
parents fd7227d4 2ba131a1
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ export class CompanionWindow extends Component { ...@@ -35,7 +35,7 @@ export class CompanionWindow extends Component {
component="aside" component="aside"
aria-label={title} aria-label={title}
> >
<Toolbar variant="dense" className={ns('companion-window-header')}> <Toolbar variant="dense" className={[position === 'left' ? classes.leftPadding : undefined, ns('companion-window-header')].join(' ')} disableGutters>
<Typography variant="h3" className={classes.windowSideBarTitle}> <Typography variant="h3" className={classes.windowSideBarTitle}>
{title} {title}
</Typography> </Typography>
......
...@@ -59,6 +59,10 @@ const styles = theme => ({ ...@@ -59,6 +59,10 @@ const styles = theme => ({
positionButton: { positionButton: {
order: -100, order: -100,
}, },
leftPadding: {
...theme.mixins.gutters(),
paddingRight: 0,
},
content: { content: {
...theme.mixins.gutters(), ...theme.mixins.gutters(),
overflowY: 'auto', overflowY: 'auto',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment