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>
<div class="card-body"> <div class="card-body">
{{ .TableOfContents }} {{ .TableOfContents }}
<p></p>
</div> </div>
</div> </div>
{{end}} {{end}}

View file

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