fix(theme): hide outline dropdown scrollbar when it does not overflow (#2151)

pull/2160/head
CHOYSEN 2 years ago committed by GitHub
parent b16340acbd
commit ff26ff1e66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -121,7 +121,7 @@ onContentUpdated(() => {
border: 1px solid var(--vp-c-divider); border: 1px solid var(--vp-c-divider);
border-radius: 8px; border-radius: 8px;
max-height: calc(var(--vp-vh, 100vh) - 86px); max-height: calc(var(--vp-vh, 100vh) - 86px);
overflow: scroll; overflow: hidden auto;
box-shadow: var(--vp-shadow-3); box-shadow: var(--vp-shadow-3);
} }

Loading…
Cancel
Save