From 77f5c4917d37136e0b728c791056cbf6278a67a5 Mon Sep 17 00:00:00 2001 From: Branimir Georgiev Date: Sun, 26 Apr 2026 14:20:44 +0300 Subject: [PATCH] fix: prevent horizontal scroll hiding mobile ToC button Wide content (tables, code blocks) caused horizontal overflow on some pages, pushing the fixed-position FAB off the visible viewport. Add overflow-x: hidden on html to keep the FAB anchored. Co-Authored-By: Claude Opus 4.6 (1M context) --- astro-site/src/styles/global.css | 1 + 1 file changed, 1 insertion(+) diff --git a/astro-site/src/styles/global.css b/astro-site/src/styles/global.css index c8a5dd9..5b6dcb0 100644 --- a/astro-site/src/styles/global.css +++ b/astro-site/src/styles/global.css @@ -74,6 +74,7 @@ html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + var(--tab-height) + var(--space-md)); + overflow-x: hidden; } body {