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

vdoc: fix sorting + other minor improvements

This commit is contained in:
Ned Palacios
2020-06-19 16:36:45 +08:00
committed by GitHub
parent 770132ff37
commit 5ff7d07138
8 changed files with 270 additions and 180 deletions

View File

@@ -275,10 +275,10 @@ body {
word-break: break-word;
}
.doc-content > .doc-node.const:not(:first-child) {
padding-top: 0;
padding-top: 4rem;
}
.doc-content > .doc-node.const:not(:last-child) {
padding-bottom: 1rem;
padding-bottom: 2rem;
}
.doc-content > .timestamp {
font-size: 0.8rem;
@@ -556,7 +556,12 @@ pre {
.doc-nav .content.hidden {
display: flex;
}
.doc-content > .doc-node.const:not(:first-child) {
padding-top: 0;
}
.doc-content > .doc-node.const:not(:last-child) {
padding-bottom: 1rem;
}
.doc-container {
margin-top: 0;
margin-left: 300px;
@@ -565,7 +570,6 @@ pre {
padding-top: 1rem !important;
margin-top: 0 !important;
}
.doc-toc {
top: 0;
}