From 2482601ad4167673b68cb876433cb3ef2211b6c6 Mon Sep 17 00:00:00 2001 From: Ezequiel <7424138+byeze@users.noreply.github.com> Date: Sun, 23 May 2021 14:21:04 -0300 Subject: [PATCH] fix(kibbeh): change css prop to fix text rendering error changed transform prop of the modal so it can render text properly fix #2779 --- kibbeh/src/ui/Input.tsx | 2 +- kibbeh/src/ui/Modal.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kibbeh/src/ui/Input.tsx b/kibbeh/src/ui/Input.tsx index c7bf76b0a..7d067ad69 100644 --- a/kibbeh/src/ui/Input.tsx +++ b/kibbeh/src/ui/Input.tsx @@ -12,7 +12,7 @@ export const Input = forwardRef( ({ className, textarea, error, transparent, ...props }, ref) => { const bg = transparent ? `bg-transparent` : `bg-primary-700`; const ring = error ? `ring-1 ring-secondary` : ""; - const cn = `w-full py-2 px-4 rounded-8 text-primary-100 placeholder-primary-300 focus:outline-none ${bg} ${ring} ${className} `; + const cn = `w-full py-2 px-4 rounded-8 text-primary-100 placeholder-primary-300 focus:outline-none ${bg} ${ring} ${className || ""} `; return textarea ? (