Skip to content

Commit

Permalink
fix(forms/TextareaField): fix styling of input field
Browse files Browse the repository at this point in the history
  • Loading branch information
sjschlapbach committed Aug 20, 2024
1 parent ee110c6 commit 15b6b30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/design-system/src/forms/TextareaField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export function TextareaField({
maxLength={maxLength}
disabled={disabled}
className={twMerge(
'focus:border-uzh-blue-50 w-full rounded border border-uzh-grey-60 pl-2 placeholder-slate-400',
'focus:border-uzh-blue-50 w-full rounded border border-uzh-grey-60 pl-2 pt-1 placeholder-slate-400',
disabled && 'cursor-not-allowed',
!!error && isTouched && 'border-red-400 bg-red-50',
className?.input
Expand All @@ -146,7 +146,7 @@ export function TextareaField({
maxLength={maxLength}
disabled={disabled}
className={twMerge(
'focus:border-uzh-blue-50 w-full rounded border border-uzh-grey-60 pl-2 placeholder-slate-400',
'focus:border-uzh-blue-50 w-full rounded border border-uzh-grey-60 pl-2 pt-1 placeholder-slate-400',
disabled && 'cursor-not-allowed',
!!error && isTouched && 'border-red-400 bg-red-50',
className?.input
Expand Down

0 comments on commit 15b6b30

Please sign in to comment.