From 23e2c4d8deff2dd7ae00a1240b5c26590f55a38f Mon Sep 17 00:00:00 2001 From: LegoFan9 <97139608+Lego-Fan9@users.noreply.github.com> Date: Tue, 14 Apr 2026 21:28:22 -0400 Subject: [PATCH] docs: fix: Safari sidebar ul has toolbar cut off --- docs/_static/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_static/style.css b/docs/_static/style.css index 4354344ec..69728a807 100644 --- a/docs/_static/style.css +++ b/docs/_static/style.css @@ -387,7 +387,7 @@ aside { background-color: var(--mobile-nav-background); color: var(--mobile-nav-text); z-index: 2; - max-height: 100vh; + max-height: 100dvh; overflow-y: auto; overscroll-behavior-y: contain; } @@ -1285,7 +1285,7 @@ div.code-block-caption { display: inline-block; position: sticky; top: 1em; - max-height: calc(100vh - 2em); + max-height: calc(100dvh - 2em); max-width: 100%; overflow-y: auto; margin: 1em;