Skip to content

Commit

Permalink
♿️ add 1.5 lineheight to comply to accessibility #2367 (#2368)
Browse files Browse the repository at this point in the history
  • Loading branch information
millianapia authored Jun 18, 2024
1 parent ae47005 commit a378ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/sections/cards/Card/CardHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const CardHeader = forwardRef<HTMLDivElement, CardHeaderProps>(function C

return eyebrow ? (
<hgroup ref={ref} className={twMerge('flex flex-col gap-2', className)} {...rest}>
<p className={twMerge(`text-xs font-medium uppercase`, eyebrowClassName)}>{eyebrow}</p>
<p className={twMerge(`text-xs font-medium uppercase leading-normal`, eyebrowClassName)}>{eyebrow}</p>
{title && (
<Typography
{...(titleVariant && { as: titleLevel })}
Expand Down

0 comments on commit a378ca4

Please sign in to comment.