1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vdoc: fix horizontal scrollbar

This commit is contained in:
Daniel Däschle 2020-06-07 01:24:12 +02:00 committed by GitHub
parent eb42d2220f
commit caa25a3150
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,6 +104,7 @@ body {
} }
*::-webkit-scrollbar { *::-webkit-scrollbar {
width: 8px; width: 8px;
height: 8px;
} }
*::-webkit-scrollbar-track { *::-webkit-scrollbar-track {
background: transparent; background: transparent;
@ -409,9 +410,11 @@ code[class*="language-"] {
border-radius: 0.25rem; border-radius: 0.25rem;
overflow-x: auto; overflow-x: auto;
} }
code[class*="language-"] {
padding: 1rem;
}
pre[class*="language-"] { pre[class*="language-"] {
overflow: auto; overflow: auto;
padding: 1rem;
margin: 0; margin: 0;
} }
.namespace { .namespace {