From 7d15e8466abcf5871491a1cc3580df97a68e92c3 Mon Sep 17 00:00:00 2001 From: George Nick Gorzynski Date: Mon, 29 Jun 2026 08:21:11 +0100 Subject: [PATCH] fix(docs): prevent scrollbar layout shift on icons page (#4500) Adds scrollbar-gutter: stable to html to reserve space for the scrollbar, preventing layout shift when navigating to/from the icons route. --- docs/.vitepress/theme/style.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css index eea8fbb63..dacecc6e7 100644 --- a/docs/.vitepress/theme/style.css +++ b/docs/.vitepress/theme/style.css @@ -67,6 +67,10 @@ animation: .3s transition 0s ease; } */ +html { + scrollbar-gutter: stable; +} + .VPHome { overflow-x: hidden; }