@@ -43,7 +43,7 @@ import { History } from "history";
4343import ColoredRadio from "../widgets/ColoredRadio" ;
4444import RRule , { RRuleOptions } from "../widgets/RRule" ;
4545import { CachedCollection } from "../Pim/helpers" ;
46- import { Checkbox , IconButton , InputAdornment , List , ListItem , ListItemSecondaryAction , ListItemText , OutlinedInput } from "@material-ui/core" ;
46+ import { Checkbox , Grid , IconButton , InputAdornment , List , ListItem , ListItemSecondaryAction , ListItemText , OutlinedInput } from "@material-ui/core" ;
4747import TaskSelector from "./TaskSelector" ;
4848
4949interface PropsType {
@@ -691,19 +691,31 @@ export default class TaskEdit extends React.PureComponent<PropsType> {
691691 onOk = { this . onOk }
692692 onCancel = { ( ) => this . setState ( { showDeleteDialog : false } ) }
693693 >
694- Are you sure you would like to delete
695- {
696- this . state . deleteTarget ? ` "${ this . state . deleteTarget . summary } "` : " this task"
697- } ?
698- < FormControlLabel
699- control = {
700- < Checkbox
701- checked = { this . state . recursiveDelete }
702- onChange = { ( e ) => this . setState ( { recursiveDelete : e . target . checked } ) }
694+ < Grid
695+ container
696+ direction = "column"
697+ alignItems = "flex-start"
698+ justify = "flex-start"
699+ >
700+ < Grid item >
701+ Are you sure you would like to delete
702+ {
703+ this . state . deleteTarget ? ` "${ this . state . deleteTarget . summary } "` : " this task"
704+ } ?
705+ </ Grid >
706+ < Grid item >
707+ < FormControlLabel
708+ control = {
709+ < Checkbox
710+ checked = { this . state . recursiveDelete }
711+ onChange = { ( e ) => this . setState ( { recursiveDelete : e . target . checked } ) }
712+ />
713+ }
714+ label = "Delete recursively"
703715 />
704- }
705- label = "Delete recursively"
706- />
716+ </ Grid >
717+ </ Grid >
718+
707719 </ ConfirmationDialog >
708720 < TaskSelector
709721 entries = { this . filterChildren ( ) }
0 commit comments