From 9445d0cfc6959990175f74af8168f30017f39ce1 Mon Sep 17 00:00:00 2001 From: Razon Yang Date: Sat, 26 Aug 2023 01:37:37 +0800 Subject: [PATCH] fix: correct the top property of sidebar (#318) --- assets/hb/modules/blog/scss/_sidebar.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/hb/modules/blog/scss/_sidebar.scss b/assets/hb/modules/blog/scss/_sidebar.scss index 08ce05d4..e7750455 100644 --- a/assets/hb/modules/blog/scss/_sidebar.scss +++ b/assets/hb/modules/blog/scss/_sidebar.scss @@ -18,8 +18,8 @@ @include media-breakpoint-up(lg) { height: calc(100vh - 80px); overflow: auto; - position: sticky; - top: 80px; + + @include top-offset(sticky); } }