Skip to content
Snippets Groups Projects
Commit c4d6d40d authored by Chris Beer's avatar Chris Beer
Browse files

Position the workspace controls absolutely, instead of with position: fixed so...

Position the workspace controls absolutely, instead of with position: fixed so it plays nice when embedded on a page; fixes #1804
parent 1bfbc8d1
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,9 @@ class WorkspaceControlPanel extends Component {
<Drawer
className={classNames(classes.drawer, ns('workspace-control-panel'))}
variant="permanent"
anchor="left"
classes={{ paper: classNames(classes.drawer) }}
PaperProps={{ style: { position: 'absolute' } }}
open
>
<WorkspaceControlPanelButtons />
......@@ -41,6 +43,10 @@ const styles = theme => ({
ctrlBtn: {
margin: theme.spacing.unit,
},
drawer: {
overflowX: 'hidden',
height: '100%',
},
});
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