Skip to content

Commit ad6e9f5

Browse files
fix: align mail icon in buttons properly
Remove align-middle from Mail icon in BaseLink component to fix misalignment in buttons. The parent Button component already uses items-center for proper vertical centering, and align-middle was causing conflicts. Fixes the "Get in touch" button icon alignment issue on enterprise page. Co-authored-by: Joshua <[email protected]>
1 parent fc38e48 commit ad6e9f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ui/Link.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export const BaseLink = forwardRef<HTMLAnchorElement, LinkProps>(function Link(
105105
{isMailto ? (
106106
<span className="text-nowrap">
107107
{!hideArrow && (
108-
<Mail className="me-1 inline size-[1em] shrink-0 align-middle" />
108+
<Mail className="me-1 inline size-[1em] shrink-0" />
109109
)}
110110
{children}
111111
</span>

0 commit comments

Comments
 (0)