aboutsummaryrefslogtreecommitdiff
path: root/site/layouts/_default/docs.html
diff options
context:
space:
mode:
authorGeoSot <[email protected]>2022-12-29 22:11:01 +0200
committerGitHub <[email protected]>2022-12-29 12:11:01 -0800
commita9810ece616b45be77be1b5c7f54db9e25b23bca (patch)
tree63cfe133aaea87e1cc0dcb48dd4d123f59603a61 /site/layouts/_default/docs.html
parent8befabbde90e8ee19f8bf9196840e25c07130710 (diff)
downloadbootstrap-a9810ece616b45be77be1b5c7f54db9e25b23bca.tar.xz
bootstrap-a9810ece616b45be77be1b5c7f54db9e25b23bca.zip
Use scrollspy on docs pages (#33428)
* use scrollspy on docs pages * Update colors by taking into account new dark mode * Restyle it * Update colors once more * Fix some color contrast issues Co-authored-by: Julien Déramond <[email protected]> Co-authored-by: Mark Otto <[email protected]>
Diffstat (limited to 'site/layouts/_default/docs.html')
-rw-r--r--site/layouts/_default/docs.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/site/layouts/_default/docs.html b/site/layouts/_default/docs.html
index 2ad46376f..738d7ee8e 100644
--- a/site/layouts/_default/docs.html
+++ b/site/layouts/_default/docs.html
@@ -1,3 +1,4 @@
+{{ define "body_override" }}<body data-bs-spy="scroll" tabindex="0" data-bs-target="#TableOfContents">{{ end }}
{{ define "main" }}
<div class="container-xxl bd-gutter mt-3 my-md-4 bd-layout">
<aside class="bd-sidebar">