diff --git a/.vitepress/theme/components/HomePage.vue b/.vitepress/theme/components/HomePage.vue index b1068e7..589d1bc 100644 --- a/.vitepress/theme/components/HomePage.vue +++ b/.vitepress/theme/components/HomePage.vue @@ -815,6 +815,7 @@ const tickerUnits = [ .step-code pre { margin: 0; padding: 1rem; + overflow-x: auto; } .step-code code { @@ -880,6 +881,7 @@ const tickerUnits = [ .steps-code-panel { position: static; + overflow: hidden; } } diff --git a/.vitepress/theme/custom.css b/.vitepress/theme/custom.css index 0454526..f4472e5 100644 --- a/.vitepress/theme/custom.css +++ b/.vitepress/theme/custom.css @@ -545,6 +545,7 @@ /* Smooth scrolling */ html { scroll-behavior: smooth; + overflow-x: hidden; } /* Transition for dark mode toggle */