From d4df5a43a571e5c53931be3129a8094e9c0a28af Mon Sep 17 00:00:00 2001 From: Nyako Shigure Date: Fri, 11 Sep 2026 10:43:44 +0800 Subject: [PATCH] fix(docs): clip horizontal hero overflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # 🐛 Bug Fix - Clip horizontal overflow at the existing VPHero boundary so the 800px ambient glow cannot widen mobile homepages, without hiding page overflow. - Preserve vertical glow and button focus outlines. Validation: docs build; all pre-commit hooks (Python 3.11); Chromium EN/ZH homepages at 320, 360, 375, 390, 414, 960 and 1440px, including touch swipes and keyboard focus. Before/after screenshots captured from local builds. --- docs/.vitepress/theme/custom.css | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/.vitepress/theme/custom.css b/docs/.vitepress/theme/custom.css index bb2ddc8f..a9841e54 100644 --- a/docs/.vitepress/theme/custom.css +++ b/docs/.vitepress/theme/custom.css @@ -205,6 +205,7 @@ .VPHero { position: relative; z-index: 1; + overflow-x: clip; } .VPHome .VPHero .container {