From 5825821591dea8d16ce93308d1b1b39b324b341b Mon Sep 17 00:00:00 2001 From: BestCodes <106822363+The-Best-Codes@users.noreply.github.com> Date: Sun, 29 Mar 2026 01:31:17 -0500 Subject: [PATCH] fix: use `overflow: clip` to not disrupt sticky ToC (#8158) Signed-off-by: The-Best-Codes <106822363+The-Best-Codes@users.noreply.github.com> --- documentation/src/css/custom.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/documentation/src/css/custom.css b/documentation/src/css/custom.css index bda0fac4f0..35d0f3b562 100644 --- a/documentation/src/css/custom.css +++ b/documentation/src/css/custom.css @@ -244,7 +244,7 @@ html { .hero--logo { display: 'flex'; justify-content: 'center'; - margin-bottom: '1rem' + margin-bottom: '1rem' } .pill-button { @@ -450,7 +450,7 @@ html, body { /* Ensure all containers respect viewport width */ .container { max-width: 100%; - overflow-x: hidden; + overflow-x: clip; } /* Prevent navbar from causing horizontal overflow */ @@ -461,7 +461,7 @@ html, body { /* Ensure main content doesn't overflow */ main { max-width: 100%; - overflow-x: hidden; + overflow-x: clip; } /* Custom scrollbar for filter sections */