docs: toc styling (#5695)

This commit is contained in:
albertony 2021-10-13 15:04:11 +02:00 committed by GitHub
parent 023e32de05
commit 7d66bfbb7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -5,6 +5,7 @@
</div>
<div class="card-body">
{{ .TableOfContents }}
<p></p>
</div>
</div>
{{end}}

View File

@ -180,11 +180,11 @@ a.badge-primary.focus, a.badge-primary:focus {
nav#TableOfContents ul {
list-style-type: none;
padding: 0.0rem;
margin: 0.5rem;
margin: 0rem 0.5rem 0rem 0.5rem;
font-size: 90%;
white-space: nowrap;
overflow:hidden;
overflow: hidden;
}
nav#TableOfContents ul:hover {
overflow:visible;
overflow: visible;
}