Skip to content

Commit

Permalink
Always show TOC and move it to bottom on mobile (#2969)
Browse files Browse the repository at this point in the history
Fixed issue #925.
  • Loading branch information
Dieken authored Feb 23, 2024
1 parent 862896c commit 60aea65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions _sass/layout/inner-main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
order: 1;
margin-bottom: 30px;
}

@include bp(medium) {
order: 3; // move TOC to the bottom on mobile
}
}

.content-nav-blog {
Expand Down
4 changes: 0 additions & 4 deletions _sass/layout/toc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
position: relative;
}

@include bp(medium) {
display: none;
}

.contents {
font-weight: 700;
}
Expand Down

0 comments on commit 60aea65

Please sign in to comment.