Skip to content

Commit

Permalink
refactor(Input): large variant paddings
Browse files Browse the repository at this point in the history
  • Loading branch information
kripod committed Jul 23, 2024
1 parent 55fc987 commit 70f6aa4
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 @@ -38,7 +38,7 @@ export const Input = forwardRef(function Input(
"text-ui-neutral-950 placeholder:text-ui-neutral-950/65",
size === "sm" && (grouped ? "px-1" : "px-2.5"),
size === "md" && (grouped ? "px-1" : "px-3"),
size === "lg" && (grouped ? "px-1.5" : "px-4"),
size === "lg" && (grouped ? "px-1" : "px-4"),
)}
{...props}
/>
Expand All @@ -53,7 +53,7 @@ export const Input = forwardRef(function Input(
"inline-flex items-center text-ui-neutral-950/65 focus-within:outline focus-within:outline-2 focus-within:outline-offset-1 focus-within:outline-ui-accent-600 disabled:*:opacity-100 has-[:not(input):focus]:[outline:none]",
size === "sm" && "px-1.5",
size === "md" && "px-2",
size === "lg" && "px-2.5",
size === "lg" && "px-3",
)}
onClickCapture={(event) => {
// Increase target size of input
Expand Down

0 comments on commit 70f6aa4

Please sign in to comment.