Skip to content

Commit 7f18129

Browse files
committed
fix: remove conflicting inline tailwind classes from package docs
1 parent 1824c62 commit 7f18129

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/utils/docs/render.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ export function renderToc(symbols: MergedSymbol[]): string {
441441
const title = KIND_TITLES[kind] || kind
442442
lines.push(`<li>`)
443443
lines.push(
444-
`<a href="#section-${kind}" class="font-semibold text-fg-muted hover:text-fg block mb-1">${title} <span class="text-fg-subtle font-normal">(${kindSymbols.length})</span></a>`,
444+
`<a href="#section-${kind}">${title} <span class="text-fg-subtle font-normal">(${kindSymbols.length})</span></a>`,
445445
)
446446

447447
const showSymbols = kindSymbols.slice(0, MAX_TOC_ITEMS_PER_KIND)

0 commit comments

Comments
 (0)