We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1acf842 + 5d300cc commit 40d487fCopy full SHA for 40d487f
1 file changed
components/navigation/OnThisPage.js
@@ -84,7 +84,11 @@ export const OnThisPage = ({
84
className={`
85
${item.level === 1 ? 'ml-0 font-bold' : ''}
86
${item.level === 2 ? 'ml-2 font-semibold' : ''}
87
- ${(item.level === 3 || item.level === 4) ? 'ml-4 font-normal text-muted-foreground' : ''}
+ ${item.level === 3 ? 'ml-4 font-normal text-muted-foreground' : ''}
88
+ ${item.level === 4 ? 'ml-6 font-normal text-muted-foreground' : ''}
89
+ ${item.level >= 5 ? 'ml-8 font-normal text-muted-foreground' : ''}
90
+ // note: h5 headers not currently used in the selectors list;
91
+ // they're just included here for completeness
92
`}
93
>
94
<Link
0 commit comments