Skip to content

Commit ff26ff1

Browse files
authored
fix(theme): hide outline dropdown scrollbar when it does not overflow (#2151)
1 parent b16340a commit ff26ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/theme-default/components/VPLocalNavOutlineDropdown.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ onContentUpdated(() => {
121121
border: 1px solid var(--vp-c-divider);
122122
border-radius: 8px;
123123
max-height: calc(var(--vp-vh, 100vh) - 86px);
124-
overflow: scroll;
124+
overflow: hidden auto;
125125
box-shadow: var(--vp-shadow-3);
126126
}
127127

0 commit comments

Comments
 (0)