Tasks edit: add full width styles to timing inputs

master
Andrew P Maney 5 years ago committed by Tom Hacohen
parent 39529e66c1
commit e06ccbd21c

@ -324,7 +324,7 @@ class TaskEdit extends React.PureComponent<PropsType> {
</RadioGroup> </RadioGroup>
</FormControl> </FormControl>
<FormControl> <FormControl style={styles.fullWidth}>
<FormHelperText>Start</FormHelperText> <FormHelperText>Start</FormHelperText>
<DateTimePicker <DateTimePicker
dateOnly={this.state.allDay} dateOnly={this.state.allDay}
@ -337,7 +337,7 @@ class TaskEdit extends React.PureComponent<PropsType> {
)} )}
</FormControl> </FormControl>
<FormControl> <FormControl style={styles.fullWidth}>
<FormHelperText>Due</FormHelperText> <FormHelperText>Due</FormHelperText>
<DateTimePicker <DateTimePicker
dateOnly={this.state.allDay} dateOnly={this.state.allDay}
@ -350,7 +350,7 @@ class TaskEdit extends React.PureComponent<PropsType> {
)} )}
</FormControl> </FormControl>
<FormGroup> <FormGroup style={styles.fullWidth}>
<FormControlLabel <FormControlLabel
control={ control={
<Switch <Switch
@ -365,7 +365,7 @@ class TaskEdit extends React.PureComponent<PropsType> {
</FormGroup> </FormGroup>
{(!this.state.allDay) && ( {(!this.state.allDay) && (
<TimezonePicker value={this.state.timezone} onChange={(zone) => this.setState({ timezone: zone })} /> <TimezonePicker style={styles.fullWidth} value={this.state.timezone} onChange={(zone) => this.setState({ timezone: zone })} />
)} )}
<TextField <TextField

Loading…
Cancel
Save