Skip to content

Commit 826b8c1

Browse files
authored
fix(Input): update Input padding to use logical properties (#3338)
fix input padding
1 parent fdc5965 commit 826b8c1

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
gamut: patch
3+
---
4+
5+
update Input padding to use logical properties

packages/gamut/src/Form/inputs/Input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const InputElement = styled.input<StyledInputProps>(
7777
inputSizeStyles,
7878
(props) =>
7979
css({
80-
paddingRight: props.icon ? `2.3rem` : `initial`,
80+
pr: props.icon ? (`2.3rem` as any) : `initial`,
8181
textIndent: 0,
8282
})
8383
);

0 commit comments

Comments
 (0)