Skip to content
Snippets Groups Projects
Commit 916fa460 authored by Lutz Helm's avatar Lutz Helm
Browse files

Adjust SingleCanvasDialog UI to Mirador defaults

parent 25733916
No related branches found
No related tags found
No related merge requests found
...@@ -36,28 +36,32 @@ class SingleCanvasDialog extends Component { ...@@ -36,28 +36,32 @@ class SingleCanvasDialog extends Component {
} = this.props; } = this.props;
return ( return (
<Dialog <Dialog
aria-labelledby="single-canvas-dialog-title"
fullWidth
maxWidth="sm"
onClose={handleClose} onClose={handleClose}
onEscapeKeyDown={handleClose}
open={open} open={open}
> >
<DialogTitle disableTypography> <DialogTitle id="single-canvas-dialog-title" disableTypography>
<Typography variant="h2"> <Typography variant="h2">
Switch view type to single view? Switch view type to single view?
</Typography> </Typography>
</DialogTitle> </DialogTitle>
<DialogContent> <DialogContent>
<DialogContentText variant="body2" color="inherit"> <DialogContentText variant="body1" color="inherit">
Annotations can only be edited in single canvas view type. Annotations can only be edited in single canvas view type.
Switch view type to single view now? Switch view type to single view now?
</DialogContentText> </DialogContentText>
</DialogContent>
<DialogActions> <DialogActions>
<Button onClick={this.confirm} variant="contained"> <Button onClick={handleClose}>
Switch to single view
</Button>
<Button onClick={handleClose} variant="contained">
Cancel Cancel
</Button> </Button>
<Button color="primary" onClick={this.confirm} variant="contained">
Switch to single view
</Button>
</DialogActions> </DialogActions>
</DialogContent>
</Dialog> </Dialog>
); );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment