mirror of https://github.com/twbs/bootstrap.git
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:
parent
cd7e5d1111
commit
22062ed9d7
|
@ -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;
|
||||||
|
|
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in New Issue