From 4314b5795918ceaa798dee550b79ff2e8a686b26 Mon Sep 17 00:00:00 2001 From: MarkusKeck Date: Tue, 17 Jan 2023 05:28:02 +0100 Subject: [PATCH] fix(theme): prevent vertical scrollbar on code group tabs (#1793) (#1805) Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> --- src/client/theme-default/styles/components/vp-code-group.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {