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 {
component="aside"
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}>
{title}
</Typography>
......
......@@ -59,6 +59,10 @@ const styles = theme => ({
positionButton: {
order: -100,
},
leftPadding: {
...theme.mixins.gutters(),
paddingRight: 0,
},
content: {
...theme.mixins.gutters(),
overflowY: 'auto',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment