docs: design fixes to toc and related elements (#12747)
* docs: design fixes to toc and related elements * change header styling * fix heading styles * design fixes * fix showing badges in toc
This commit is contained in:
1 parent
f77696e14b
commit
98de6b6ca3
29 files changed
+82
-39
No files matched your search
@@ -19,7 +19,7 @@ export const H2 = ({ className, children, passRef, ...props }: H2Props) => {
|
||||
return (
|
||||
<h2
|
||||
className={clsx(
|
||||
"h2-docs [&_code]:!h2-docs [&_code]:!font-mono mb-docs_1 mt-docs_2 text-medusa-fg-base",
|
||||
"text-h2 [&_code]:!text-h2 [&_code]:!font-mono mb-docs_1 mt-docs_2 text-medusa-fg-base",
|
||||
props.id && [
|
||||
"group/h2",
|
||||
showCollapsedNavbar && "scroll-m-docs_7",
|
||||
|
||||
Reference in new issue
Block a user