From ee4f4450be4510cc0cefe4fc35f3f036d55649f3 Mon Sep 17 00:00:00 2001 From: jess Date: Wed, 14 Feb 2024 08:00:09 -0500 Subject: [PATCH] Jekyll theme update: Enable toc sidebar scrolling (see https://github.com/mmistakes/minimal-mistakes/pull/2874) --- _sass/minimal-mistakes/_sidebar.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/_sass/minimal-mistakes/_sidebar.scss b/_sass/minimal-mistakes/_sidebar.scss index b1f5ca9..9165561 100644 --- a/_sass/minimal-mistakes/_sidebar.scss +++ b/_sass/minimal-mistakes/_sidebar.scss @@ -89,6 +89,13 @@ position: sticky; top: 2em; float: right; + + .toc { + .toc__menu { + overflow-y: auto; + max-height: calc(100vh - 7em); + } + } } } @@ -343,4 +350,3 @@ margin-right: initial; } } -