mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-21 19:32:34 +00:00
Fix scroll position of post-toc
This commit is contained in:
parent
c1a2073a10
commit
537db5f957
@ -42,8 +42,12 @@
|
|||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-toc-active .post-toc-wrap, .sidebar-overview-active .site-overview-wrap {
|
.sidebar-overview-active .site-overview-wrap {
|
||||||
// Flexbox layout makes it possible to reorder the child
|
// Flexbox layout makes it possible to reorder the child
|
||||||
// elements of .site-overview-item through the `order` CSS property
|
// elements of .site-overview-item through the `order` CSS property
|
||||||
flex-column();
|
flex-column();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sidebar-toc-active .post-toc-wrap {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user