Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: twbs/bootstrap
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6f99f9e3dfed065cff802b42a4fc1ca2484875b7
Choose a base ref
..
head repository: twbs/bootstrap
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: aaad5be675aa5d4b82ff7f06733aa4b06d84af70
Choose a head ref
Showing with 4 additions and 6 deletions.
  1. +3 −5 site/assets/scss/_toc.scss
  2. +1 −1 site/layouts/_default/docs.html
8 changes: 3 additions & 5 deletions site/assets/scss/_toc.scss
Original file line number Diff line number Diff line change
@@ -13,11 +13,9 @@
nav {
@include font-size(.875rem);

nav {
nav {
padding-left: 1rem;
margin-top: .25rem;
}
ul ul {
padding-left: 1rem;
margin-top: .25rem;
}

li {
2 changes: 1 addition & 1 deletion site/layouts/_default/docs.html
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ <h1 class="bd-title" id="content">{{ .Title | markdownify }}</h1>
{{ if (eq .Page.Params.toc true) }}
<div class="bd-toc mt-4 mb-5 my-md-0 ps-xl-3 mb-lg-5 text-muted">
<strong class="d-block h6 my-2 pb-2 border-bottom">On this page</strong>
{{ .Page.TableOfContents | replaceRE "(<li>)" "<li class=\"nav-item\">" | replaceRE "(</ul>)" "</nav>" | replaceRE "(<ul>)" "<nav class=\"nav nav-pills flex-column\">" | replaceRE "(?s:href)" "class=\"nav-link py-0 px-1\" href" | safeHTML }}
{{ .Page.TableOfContents | replaceRE "(<li>)" "<li class=\"nav-item\">" | replaceRE "(<ul>)" "<ul class=\"nav nav-pills flex-column\">" | replaceRE "(?s:href)" "class=\"nav-link py-0 px-1\" href" | safeHTML }}
</div>
{{ end }}