Skip to content

Commit 402eb9c

Browse files
authored
ADD: wrap nav lines in TOC. [2]
1 parent 0d6c0f6 commit 402eb9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/css/_common/components/sidebar/sidebar-toc.styl

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
.post-toc .nav-item {
3434
overflow: hidden;
3535
text-overflow: ellipsis;
36-
white-space: nowrap;
36+
white-space: nowrap if !hexo-config('toc.wrap');
3737
line-height: 1.8;
3838
}
3939

0 commit comments

Comments
 (0)