]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Docs table of contents list style fix (#30176)
authorMark Otto <markd.otto@gmail.com>
Sat, 15 Feb 2020 07:40:27 +0000 (23:40 -0800)
committerGitHub <noreply@github.com>
Sat, 15 Feb 2020 07:40:27 +0000 (09:40 +0200)
* Fix missing bullets from table of contents top level

* Add .text-muted to toc for lighter bullets

site/assets/scss/_toc.scss
site/layouts/_default/docs.html

index 2ad4f8338d189158b936965d43732473357fde44..f942f6210eb3ca99c1528e2c948a31f52286258b 100644 (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;
index fff946d10728f433fdd5c6ef08c49abcfcf1325e..c47c0af7f72b680c4f130f375bf2901a311d4486 100644 (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 }}