Skip to content

Commit

Permalink
Use same min, max and step values as in SpacingSizesControl
Browse files Browse the repository at this point in the history
  • Loading branch information
noisysocks committed Oct 24, 2022
1 parent fd6a76a commit df15dc5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/components/src/font-size-picker/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,9 @@ const UnforwardedFontSizePicker = (
onChange?.( newValue );
}
} }
min={ isValueUnitRelative ? 0.75 : 12 }
max={ isValueUnitRelative ? 6.25 : 100 }
step={ isValueUnitRelative ? 0.05 : 1 }
min={ 0 }
max={ isValueUnitRelative ? 10 : 100 }
step={ isValueUnitRelative ? 0.1 : 1 }
/>
</Spacer>
</FlexItem>
Expand Down

0 comments on commit df15dc5

Please sign in to comment.