From 0e00aa57c798e44fe9e85c7dcdc19e8d5501ebed Mon Sep 17 00:00:00 2001 From: Shahid Parvez Date: Fri, 23 Sep 2022 19:18:03 +0600 Subject: [PATCH] Update post-single.css Enable better post navigation --- assets/css/common/post-single.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index 0f569bf5..0de006ac 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -253,6 +253,9 @@ } .toc { + position: sticky; + top: .2rem; + z-index: 100; margin: 0 2px 40px 2px; border: 1px solid var(--border); background: var(--code-bg); @@ -398,4 +401,4 @@ h1>a>svg { img.in-text { display: inline; margin: auto; -} \ No newline at end of file +}