Skip to content

Commit

Permalink
fix: time unit select menu layout
Browse files Browse the repository at this point in the history
  • Loading branch information
eatyourgreens committed Mar 21, 2024
1 parent f90611b commit 2cb0248
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend-v2/src/features/data/SetUnits.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ const SetUnits: React.FC<IMapObservations> = ({state, firstTime}: IMapObservatio
<div>
{noTimeUnit && (
<>
<Stack direction='row'>
<Stack direction='row' spacing='1rem'>
<Typography>Please select a unit for all time values.</Typography>
<FormControl fullWidth>
<FormControl sx={{ minWidth: '10rem' }}>
<InputLabel id='select-time-unit-label'>Set Time Unit</InputLabel>
<Select
labelId='select-time-unit-label'
value={state.timeUnit}
value={state.timeUnit || ''}
onChange={setTimeUnit}
>
{timeUnitOptions.map((option) => (
Expand Down

0 comments on commit 2cb0248

Please sign in to comment.