1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-08 14:46:34 +02:00

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
2 changed files with 1 additions and 6 deletions

View File

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

View File

@@ -35,7 +35,7 @@
{{ if (eq .Page.Params.toc true) }}
<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 }}
</nav>
{{ end }}