diff --git a/packages/desktop-client/src/components/schedules/EditSchedule.js b/packages/desktop-client/src/components/schedules/EditSchedule.js index 506c34eb642f1a92aaaf1b8458fd5efa176196b1..132362b606ea0f9b19db3be0b93cc59241c87f23 100644 --- a/packages/desktop-client/src/components/schedules/EditSchedule.js +++ b/packages/desktop-client/src/components/schedules/EditSchedule.js @@ -527,8 +527,8 @@ export default function ScheduleDetails({ modalProps, actions, id }) { <FormLabel title="Date" /> </View> - <Stack direction="row" align="flex-start"> - <View style={{ flex: 1, width: '13.44rem' }}> + <Stack direction="row" align="flex-start" justify="space-between"> + <View style={{ width: '13.44rem' }}> {repeats ? ( <RecurringSchedulePicker value={state.fields.date} @@ -569,7 +569,6 @@ export default function ScheduleDetails({ modalProps, actions, id }) { <View style={{ marginTop: 5, - flex: 1, flexDirection: 'row', alignItems: 'center', userSelect: 'none', @@ -587,12 +586,7 @@ export default function ScheduleDetails({ modalProps, actions, id }) { </label> </View> - <View - style={{ - alignItems: 'flex-end', - flex: 1, - }} - > + <Stack align="flex-end"> <View style={{ marginTop: 5, @@ -636,7 +630,7 @@ export default function ScheduleDetails({ modalProps, actions, id }) { </Text> {!adding && state.schedule.rule && ( - <Stack direction="row" align="center" style={{ marginTop: 30 }}> + <Stack direction="row" align="center" style={{ marginTop: 20 }}> {state.isCustom && ( <Text style={{ @@ -654,7 +648,7 @@ export default function ScheduleDetails({ modalProps, actions, id }) { </Button> </Stack> )} - </View> + </Stack> </Stack> <View style={{ marginTop: 30, flex: 1 }}> diff --git a/upcoming-release-notes/1687.md b/upcoming-release-notes/1687.md new file mode 100644 index 0000000000000000000000000000000000000000..b229e4e0ba2ca9a52129ba71052339542a53cf29 --- /dev/null +++ b/upcoming-release-notes/1687.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [MatissJanis] +--- + +Fix a checkbox label sometimes appearing in multiple lines in the schedules modal