From fab68f78fb1ba668f7f6dd4d9145a6831a55adc1 Mon Sep 17 00:00:00 2001 From: Maik de Kruif Date: Sun, 5 Jan 2025 02:09:50 +0100 Subject: [PATCH] Fix use max height instead of height --- themes/maik-blog/assets/scss/_main.scss | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/themes/maik-blog/assets/scss/_main.scss b/themes/maik-blog/assets/scss/_main.scss index 712daaf..231b349 100644 --- a/themes/maik-blog/assets/scss/_main.scss +++ b/themes/maik-blog/assets/scss/_main.scss @@ -746,13 +746,11 @@ table { .toc-content { position: sticky; top: 10vh; - height: 70vh; - margin-bottom: -2em; + max-height: 70vh; margin-left: calc(-300px - 100px); display: flex !important; flex-direction: column; width: 300px; - right: calc(100% + 100px); ::-webkit-scrollbar { width: 6px;