Skip to content

Commit b39b491

Browse files
authored
fix(theme): code group tab divider not showing full-width (vuejs#2701)
1 parent 5563695 commit b39b491

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/client/theme-default/styles/components/vp-code-group.css

+1-10
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,7 @@
1111
background-color: var(--vp-code-tab-bg);
1212
overflow-x: auto;
1313
overflow-y: hidden;
14-
}
15-
16-
.vp-code-group .tabs::after {
17-
position: absolute;
18-
right: 0;
19-
bottom: 0;
20-
left: 0;
21-
height: 1px;
22-
background-color: var(--vp-code-tab-divider);
23-
content: '';
14+
box-shadow: inset 0 -1px var(--vp-code-tab-divider);
2415
}
2516

2617
@media (min-width: 640px) {

0 commit comments

Comments
 (0)