diff --git a/src/_design-system/mdx-components/mdx-link.tsx b/src/_design-system/mdx-components/mdx-link.tsx index cf18dafdfc..964469aa09 100644 --- a/src/_design-system/mdx-components/mdx-link.tsx +++ b/src/_design-system/mdx-components/mdx-link.tsx @@ -12,7 +12,7 @@ export const MdxLink = forwardRef< {...props} ref={ref} className={clsx( - "typography-link text-neu-900 decoration-from-font underline-offset-2", + "typography-link text-neu-900 underline-offset-2", props.className, )} href={props.href || ""} diff --git a/src/nextra-theme-docs.css b/src/nextra-theme-docs.css index 40b2f0449f..8e94f3ee08 100644 --- a/src/nextra-theme-docs.css +++ b/src/nextra-theme-docs.css @@ -1867,12 +1867,6 @@ article.nextra-body-typesetting-article h1 { article.nextra-body-typesetting-article h2 { border-style: none; } -article.nextra-body-typesetting-article a { - text-decoration-line: none; -} -article.nextra-body-typesetting-article a:hover { - text-decoration-line: underline; -} article.nextra-body-typesetting-article p { line-height: 2rem; }