From 70f6aa46b2a42566bfe7a42f5834c466aef771a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20Poduszl=C3=B3?= <14854048+kripod@users.noreply.github.com> Date: Tue, 23 Jul 2024 07:26:20 +0200 Subject: [PATCH] refactor(Input): large variant paddings --- src/components/Input.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Input.tsx b/src/components/Input.tsx index 5814ebd..e280045 100644 --- a/src/components/Input.tsx +++ b/src/components/Input.tsx @@ -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} /> @@ -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