fix(theme): fix overflow scrolling in the tab container nav, close #842 (#847)

This commit is contained in:
pengzhanbo 2026-02-12 01:00:03 +08:00 committed by GitHub
parent 8cd08f4f02
commit 98a969c112
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -144,7 +144,7 @@ function onTabNavClick(index: number): void {
.vp-doc .vp-tabs-nav {
padding: 0 12px;
overflow-x: auto;
overflow: auto hidden;
white-space: nowrap;
background-color: var(--vp-code-tab-bg);
box-shadow: inset 0 -1px var(--vp-code-tab-divider);