fix: use proper flex ratio for determining the width of the time break duration input

This commit is contained in:
Joey Boerwinkel 2024-07-26 13:24:17 +02:00 committed by Freek van de Ven
parent 96c16c09ba
commit c004417b36

View file

@ -328,15 +328,19 @@ class _AvailabilityBreakSelectionDialogState
const SizedBox(height: 16),
Row(
children: [
const Spacer(),
const Spacer(
flex: 3,
),
Expanded(
flex: 2,
flex: 4,
child: DurationInputField(
initialValue: _breakViewModel.submittedDuration,
onDurationChanged: onUpdateDuration,
),
),
const Spacer(),
const Spacer(
flex: 3,
),
],
),
const SizedBox(height: 24),