Skip to content

Commit 60aea65

Browse files
authored
Always show TOC and move it to bottom on mobile (#2969)
Fixed issue #925.
1 parent 862896c commit 60aea65

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

_sass/layout/inner-main.scss

+4
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
order: 1;
4444
margin-bottom: 30px;
4545
}
46+
47+
@include bp(medium) {
48+
order: 3; // move TOC to the bottom on mobile
49+
}
4650
}
4751

4852
.content-nav-blog {

_sass/layout/toc.scss

-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@
1111
position: relative;
1212
}
1313

14-
@include bp(medium) {
15-
display: none;
16-
}
17-
1814
.contents {
1915
font-weight: 700;
2016
}

0 commit comments

Comments
 (0)