From b39b4912af9664d14f5f7c658e64b96de3865f04 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Fri, 28 Jul 2023 21:32:31 +0530 Subject: [PATCH] fix(theme): code group tab divider not showing full-width (#2701) --- .../theme-default/styles/components/vp-code-group.css | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) 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 79d02fec..aa0675e8 100644 --- a/src/client/theme-default/styles/components/vp-code-group.css +++ b/src/client/theme-default/styles/components/vp-code-group.css @@ -11,16 +11,7 @@ background-color: var(--vp-code-tab-bg); overflow-x: auto; overflow-y: hidden; -} - -.vp-code-group .tabs::after { - position: absolute; - right: 0; - bottom: 0; - left: 0; - height: 1px; - background-color: var(--vp-code-tab-divider); - content: ''; + box-shadow: inset 0 -1px var(--vp-code-tab-divider); } @media (min-width: 640px) {