Skip to content

Commit

Permalink
refactor(Input): increase small variant addon paddings
Browse files Browse the repository at this point in the history
  • Loading branch information
kripod committed Jul 20, 2024
1 parent 3f411df commit 5a5066d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const Input = forwardRef(function Input(
<InputGroupAddon
className={clsx(
"justify-self-start",
size === "sm" && "px-2.5 pe-1",
size === "sm" && "px-2.5 pe-1.5",
size === "md" && "px-3 pe-1.5",
size === "lg" && "px-4 pe-2",
)}
Expand Down Expand Up @@ -64,7 +64,7 @@ export const Input = forwardRef(function Input(
<InputGroupAddon
className={clsx(
"justify-self-end",
size === "sm" && "px-2.5 ps-1",
size === "sm" && "px-2.5 ps-1.5",
size === "md" && "px-3 ps-1.5",
size === "lg" && "px-4 ps-2",
)}
Expand Down

0 comments on commit 5a5066d

Please sign in to comment.