From 92c5226169a28e3fca6d7525c62244fb1b6b2a0c Mon Sep 17 00:00:00 2001 From: x1y <23239177+x1y@users.noreply.github.com> Date: Sun, 17 Mar 2024 19:39:54 +0100 Subject: [PATCH] Fixed overflow scroll --- themes/pinetheme/assets/css/documentation.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/pinetheme/assets/css/documentation.css b/themes/pinetheme/assets/css/documentation.css index a3c01f3b..fe12f3a3 100644 --- a/themes/pinetheme/assets/css/documentation.css +++ b/themes/pinetheme/assets/css/documentation.css @@ -50,7 +50,7 @@ position:sticky; top:0; max-height: 100vh; - overflow: scroll; + overflow-x: auto; } #doc-nav .sidebar-nav > ul > ul { border-left: 1px solid #fafafa; @@ -121,7 +121,7 @@ div#doc-page h1 { div#doc-page code { font-family: source code pro, lucida console, monospace; display: inline-block; - overflow: scroll; + overflow-x: scroll; font-weight: 400; max-width: 98%; vertical-align: top;