Skip to content

Commit

Permalink
adjust affix toc height
Browse files Browse the repository at this point in the history
  • Loading branch information
farseerfc committed Feb 10, 2020
1 parent 57a3726 commit bec97e8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,13 @@ figure.floatcenter, .align-center {
}

.affix {
position: fixed;
top: 100px;
/* position: fixed;
top: 100px; */
}

.affix .toc {
overflow-y: auto;
max-height: calc(100vh - 130px);
}

.friend-head {
Expand Down

0 comments on commit bec97e8

Please sign in to comment.