Skip to content

Commit 438a1e6

Browse files
committed
style: apply text truncation to TOC links with doc-symbol
1 parent ba7dfd9 commit 438a1e6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/globals.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,10 @@
159159
}
160160

161161
@layer components {
162+
.nextra-toc li a:has(.doc-symbol) {
163+
@apply truncate;
164+
}
165+
162166
.doc-symbol::after {
163167
@apply inline-block align-middle font-medium rounded text-center w-7 h-7 leading-7 text-lg mr-1;
164168
}

0 commit comments

Comments
 (0)