Skip to content

Commit a37d52a

Browse files
committed
fix toc cropped, fix heading not hidden in zen mode
1 parent f650086 commit a37d52a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/nuejs.org/docs/css/doc-navi.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ aside:first-child nav {
5555

5656
/* table of contents */
5757
.toc {
58-
margin: 1.5em 0;
58+
margin: 1.5em 0 2.5em;
5959

6060
/* overlfow ellipsis */
6161
a {
@@ -111,7 +111,7 @@ aside:first-child nav {
111111
aside { height: calc(100vh - 2em) }
112112
h1 { margin-top: 0 }
113113

114-
body > header, body > nav, article + aside h3, .toc {
114+
body > header, body > nav, article + aside h4, .toc {
115115
display: none
116116
}
117117
}

0 commit comments

Comments
 (0)