Skip to content

Commit

Permalink
Merge pull request #874 from commercelayer/fix-button-input
Browse files Browse the repository at this point in the history
Increase height when button uses the input variant
  • Loading branch information
marcomontalbano authored Jan 24, 2025
2 parents a1ec47b + 7d4f530 commit 967356e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function getVariantCss(
link: 'text-primary hover:text-primary-light border-primary-light cursor-pointer',
relationship: 'font-bold text-primary border border-gray-300 border-dashed',
input:
'form-input block w-full !px-4 !py-2.5 font-medium rounded outline-0 !text-left text-gray-500'
'form-input block w-full !px-4 !py-2.5 font-medium rounded outline-0 !text-left !leading-6 text-gray-500'
} satisfies Record<NonNullable<InteractiveElementProps['variant']>, string>

return mapping[variant]
Expand Down

0 comments on commit 967356e

Please sign in to comment.