diff --git a/packages/react/src/InlineLink/InlineLink.module.css b/packages/react/src/InlineLink/InlineLink.module.css index 036c54691..240226ca3 100644 --- a/packages/react/src/InlineLink/InlineLink.module.css +++ b/packages/react/src/InlineLink/InlineLink.module.css @@ -13,6 +13,8 @@ .InlineLink, .InlineLink > span { + font-size: inherit; + line-height: inherit; font-weight: inherit; color: var(--brand-InlineLink-color-rest); } diff --git a/packages/react/src/InlineLink/InlineLink.stories.tsx b/packages/react/src/InlineLink/InlineLink.stories.tsx index b6bf0f5e3..d8fa179c8 100644 --- a/packages/react/src/InlineLink/InlineLink.stories.tsx +++ b/packages/react/src/InlineLink/InlineLink.stories.tsx @@ -47,3 +47,25 @@ export const SizeInheritence = () => ( ) + +export const SizeInheritenceWithCustomCSS = () => ( + <> +