Optimized the position of TOC.

This commit is contained in:
Cotes Chung 2020-03-03 20:17:51 +08:00
parent e383f80e5e
commit 6fa8bbe922

View file

@ -121,7 +121,7 @@ $prompt-newer: "{{ site.data.label.post.button.next }}";
border-left: 1px solid rgba(158, 158, 158, 0.17); border-left: 1px solid rgba(158, 158, 158, 0.17);
position: -webkit-sticky; position: -webkit-sticky;
position: sticky; position: sticky;
top: 2rem; top: 4rem;
transition: top 0.2s ease-in-out; transition: top 0.2s ease-in-out;
animation: fade-up .8s; animation: fade-up .8s;
&.topbar-down { &.topbar-down {