diff --git a/src/client/theme-default/styles/components/vp-code-group.css b/src/client/theme-default/styles/components/vp-code-group.css index 0384bae34933..84ed9b8bff14 100644 --- a/src/client/theme-default/styles/components/vp-code-group.css +++ b/src/client/theme-default/styles/components/vp-code-group.css @@ -9,7 +9,8 @@ margin-left: -24px; padding: 0 12px; background-color: var(--vp-code-tab-bg); - overflow: auto; + overflow-x: auto; + overflow-y: hidden; } .vp-code-group .tabs::after {