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

Merge pull request #1810 from ProjectMirador/1804-sidebar-position

Position the workspace controls absolutely, instead of with position:…
parents 1bfbc8d1 c4d6d40d
Branches
Tags
No related merge requests found
...@@ -21,7 +21,9 @@ class WorkspaceControlPanel extends Component { ...@@ -21,7 +21,9 @@ class WorkspaceControlPanel extends Component {
<Drawer <Drawer
className={classNames(classes.drawer, ns('workspace-control-panel'))} className={classNames(classes.drawer, ns('workspace-control-panel'))}
variant="permanent" variant="permanent"
anchor="left"
classes={{ paper: classNames(classes.drawer) }} classes={{ paper: classNames(classes.drawer) }}
PaperProps={{ style: { position: 'absolute' } }}
open open
> >
<WorkspaceControlPanelButtons /> <WorkspaceControlPanelButtons />
...@@ -41,6 +43,10 @@ const styles = theme => ({ ...@@ -41,6 +43,10 @@ const styles = theme => ({
ctrlBtn: { ctrlBtn: {
margin: theme.spacing.unit, margin: theme.spacing.unit,
}, },
drawer: {
overflowX: 'hidden',
height: '100%',
},
}); });
export default withStyles(styles)(WorkspaceControlPanel); export default withStyles(styles)(WorkspaceControlPanel);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment