Rearrange flight creation form

This commit is contained in:
april 2024-01-05 11:52:06 -06:00
parent 0bfdc4f8e5
commit ed490803cb
2 changed files with 5 additions and 3 deletions

View File

@ -179,11 +179,11 @@ export default function NewFlight() {
field="time_start"
label="Start Time"
/>
<TimeInput form={form} field="time_stop" label="Stop Time" />
<TimeInput form={form} field="time_off" label="Time Off" />
</Group>
<Group justify="center" grow mt="md">
<TimeInput form={form} field="time_off" label="Time Off" />
<TimeInput form={form} field="time_down" label="Time Down" />
<TimeInput form={form} field="time_stop" label="Stop Time" />
</Group>
</Fieldset>
@ -232,7 +232,7 @@ export default function NewFlight() {
/>
<NumberInput
label="Distance Cross-Country"
decimalScale={2}
decimalScale={1}
min={0}
fixedDecimalScale
leftSection={

View File

@ -20,6 +20,7 @@ function HourInput({
<NumberInput
label={label}
decimalScale={1}
step={0.1}
min={0}
fixedDecimalScale
leftSection={
@ -57,6 +58,7 @@ function ZeroHourInput({
<NumberInput
label={label}
decimalScale={1}
step={0.1}
min={0}
fixedDecimalScale
leftSection={