From dbdb075bc90cd2893b63d67f96f5cf85bda94af9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mihkel=20Auv=C3=A4=C3=A4rt?= <11288915+MihkelAuv@users.noreply.github.com> Date: Thu, 3 Aug 2023 15:59:08 +0300 Subject: [PATCH] fix: TOC max height size (#9035) --- templates/modern/src/layout.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/modern/src/layout.scss b/templates/modern/src/layout.scss index eed07d310ed..3770eef2077 100644 --- a/templates/modern/src/layout.scss +++ b/templates/modern/src/layout.scss @@ -124,7 +124,7 @@ body[data-layout="landing"] { overflow-x: hidden; overflow-y: auto; max-width: 360px; - max-height: calc(100vh - #{$header-height}); + max-height: calc(100vh - $header-height - $main-padding-top); @include stick-to-header;