From c6d1918634a525a987a70bb68e1766b21511a9d5 Mon Sep 17 00:00:00 2001 From: Andre Potthast <34302688+CreatingBytes@users.noreply.github.com> Date: Wed, 22 Jun 2022 13:59:15 +0200 Subject: [PATCH 01/77] Update Input.tsx - Fixing the Line Height Issue ENG-144 --- packages/ui/src/Input.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/src/Input.tsx b/packages/ui/src/Input.tsx index dc2d8e063..cbef12cd3 100644 --- a/packages/ui/src/Input.tsx +++ b/packages/ui/src/Input.tsx @@ -39,7 +39,7 @@ export const Input = React.forwardRef(({ ...props ref={ref} {...props} className={clsx( - `px-3 py-1 rounded-md border leading-7 outline-none shadow-xs focus:ring-2 transition-all`, + `px-2 py-1 rounded-md border leading-5 outline-none shadow-xs focus:ring-2 transition-all`, variants[props.variant || 'default'], props.className )} From cb39b5191e6ff2fac865338b1170efbd264304af Mon Sep 17 00:00:00 2001 From: Andre Potthast <34302688+CreatingBytes@users.noreply.github.com> Date: Wed, 22 Jun 2022 15:21:19 +0200 Subject: [PATCH 02/77] Update Input.tsx Correct the #297 Merge. This Error should fix the Line Height Error for the (TEXTAREA) not for the Input. --- packages/ui/src/Input.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ui/src/Input.tsx b/packages/ui/src/Input.tsx index cbef12cd3..5c32fc513 100644 --- a/packages/ui/src/Input.tsx +++ b/packages/ui/src/Input.tsx @@ -39,7 +39,7 @@ export const Input = React.forwardRef(({ ...props ref={ref} {...props} className={clsx( - `px-2 py-1 rounded-md border leading-5 outline-none shadow-xs focus:ring-2 transition-all`, + `px-3 py-1 rounded-md border leading-7 outline-none shadow-xs focus:ring-2 transition-all`, variants[props.variant || 'default'], props.className )} @@ -56,7 +56,7 @@ export const TextArea = ({ size, ...props }: TextAreaProps) => {