Skip to content

Adds line-height for InlineCode component#2320

Open
jvorcak wants to merge 1 commit intomasterfrom
UX-965-fixes-inline-code-spacing
Open

Adds line-height for InlineCode component#2320
jvorcak wants to merge 1 commit intomasterfrom
UX-965-fixes-inline-code-spacing

Conversation

@jvorcak
Copy link
Collaborator

@jvorcak jvorcak commented Mar 17, 2026

Screenshot 2026-03-17 at 19 08 57

@jvorcak jvorcak force-pushed the UX-965-fixes-inline-code-spacing branch from 7b73f03 to 7b67cb6 Compare March 17, 2026 18:12
@jvorcak jvorcak requested review from eblairmckee and malinskibeniamin and removed request for malinskibeniamin March 18, 2026 10:57
return (
<code
className={cn('relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono font-semibold text-sm', className)}
className={cn('relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono font-semibold text-sm leading-8', className)}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we add this change to the ui-registry version of the component? otherwise anytime typography gets updated it will get overwritten here as the registry is the single source of truth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants