Docs table of contents list style fix (#30176)

* Fix missing bullets from table of contents top level

* Add .text-muted to toc for lighter bullets
This commit is contained in:
Mark Otto 2020-02-14 23:40:27 -08:00 committed by GitHub
parent cd7e5d1111
commit 22062ed9d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View File

@ -6,14 +6,9 @@
border-left: .25em solid $gray-200; border-left: .25em solid $gray-200;
> ul { > ul {
padding-left: .5rem;
margin-bottom: 0; margin-bottom: 0;
} }
> ul > li {
display: block;
}
li ul li { li ul li {
margin-bottom: .25rem; margin-bottom: .25rem;
list-style-type: disc; list-style-type: disc;

View File

@ -35,7 +35,7 @@
{{ if (eq .Page.Params.toc true) }} {{ if (eq .Page.Params.toc true) }}
<strong class="d-block h3 mt-5 mb-3">On this page</strong> <strong class="d-block h3 mt-5 mb-3">On this page</strong>
<nav class="bd-toc mb-5" aria-label="Secondary navigation"> <nav class="bd-toc mb-5 text-muted" aria-label="Secondary navigation">
{{ .TableOfContents }} {{ .TableOfContents }}
</nav> </nav>
{{ end }} {{ end }}