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

vdoc: fix sidebar scroll when reaching bottom (#7368)

This commit is contained in:
Daniel Däschle 2020-12-17 10:17:18 +01:00 committed by GitHub
parent b10f692c43
commit 9528efe532
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,6 +65,9 @@
--code-punctuation-text-color: #a0aec0; --code-punctuation-text-color: #a0aec0;
--code-symbol-text-color: #ed64a6; --code-symbol-text-color: #ed64a6;
} }
html {
height: 100%;
}
body { body {
margin: 0; margin: 0;
font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
@ -72,6 +75,10 @@ body {
background-color: var(--background-color); background-color: var(--background-color);
color: #000; color: #000;
color: var(--text-color); color: var(--text-color);
height: 100%;
}
#page {
height: 100%;
overflow-y: scroll; overflow-y: scroll;
} }