Skip to content

Commit

Permalink
fix toc cropped, fix heading not hidden in zen mode
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Jan 28, 2025
1 parent f650086 commit a37d52a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/nuejs.org/docs/css/doc-navi.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ aside:first-child nav {

/* table of contents */
.toc {
margin: 1.5em 0;
margin: 1.5em 0 2.5em;

/* overlfow ellipsis */
a {
Expand Down Expand Up @@ -111,7 +111,7 @@ aside:first-child nav {
aside { height: calc(100vh - 2em) }
h1 { margin-top: 0 }

body > header, body > nav, article + aside h3, .toc {
body > header, body > nav, article + aside h4, .toc {
display: none
}
}

0 comments on commit a37d52a

Please sign in to comment.