Skip to content

Commit

Permalink
Fix padding on number inputs (#2699)
Browse files Browse the repository at this point in the history
  • Loading branch information
RunDevelopment committed Mar 21, 2024
1 parent 5187860 commit 3ad3e1f
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,9 @@ export const AdvancedNumberInput = memo(
borderRightRadius="md"
h={inputHeight}
m={0}
p={1}
pl={1}
pr={4}
py={1}
size={1}
w={inputWidth}
onKeyDown={onKeyDown}
Expand Down Expand Up @@ -255,7 +257,8 @@ export const AdvancedNumberInput = memo(
<NumberInputField
borderLeftRadius={unit ? 0 : 'lg'}
borderRightRadius="lg"
px={unit ? 2 : 4}
pl={unit ? 2 : undefined}
pr="var(--number-input-stepper-width)"
size={1}
w={inputWidth}
onKeyDown={onKeyDown}
Expand Down

0 comments on commit 3ad3e1f

Please sign in to comment.