Skip to content

fix(styles): inherit font-size from parent instead of forcing text-sm in link#6621

Merged
wingkwong merged 2 commits into
v3.2.0from
fix/issue-6600
Jun 8, 2026
Merged

fix(styles): inherit font-size from parent instead of forcing text-sm in link#6621
wingkwong merged 2 commits into
v3.2.0from
fix/issue-6600

Conversation

@wingkwong

Copy link
Copy Markdown
Member

Closes #6600

📝 Description

This pull request makes minor adjustments to the styling of the .link component to improve consistency and scalability of its appearance.

  • Link text styling: Removed the text-sm class from the .link base styles, so the link will now inherit font size rather than always being small.
  • Icon sizing: Changed the .link__icon size from a fixed size-2 to a relative size-[0.75em], ensuring the icon scales with the surrounding text.

⛳️ Current behavior (updates)

image

🚀 New behavior

image

💣 Is this a breaking change (Yes/No):

📝 Additional Information

@wingkwong wingkwong requested a review from jrgarciadev as a code owner June 7, 2026 03:45
@vercel

vercel Bot commented Jun 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
heroui Ready Ready Preview, Comment Jun 7, 2026 4:30am
heroui-sb Ready Ready Preview, Comment Jun 7, 2026 4:30am

Request Review

@wingkwong wingkwong requested a review from diegonzs June 7, 2026 03:45
@wingkwong wingkwong added this to the v3.2.0 milestone Jun 7, 2026
@wingkwong wingkwong linked an issue Jun 7, 2026 that may be closed by this pull request
@pkg-pr-new

pkg-pr-new Bot commented Jun 7, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@heroui/react@6621
npm i https://pkg.pr.new/@heroui/styles@6621

commit: 3a7443f

@wingkwong wingkwong merged commit 3b57fa7 into v3.2.0 Jun 8, 2026
8 checks passed
@wingkwong wingkwong deleted the fix/issue-6600 branch June 8, 2026 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants