aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/site/layouts/_default/docs.html
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2023-04-29 20:17:19 +0200
committerMario Vavti <mario@mariovavti.com>2023-04-29 20:17:19 +0200
commitfb295d53f12c3376779dc052dc2341c242c631d9 (patch)
treeff6b3181374955c9affbef343e4a767a9f125700 /vendor/twbs/bootstrap/site/layouts/_default/docs.html
parent95d07974f49c8e0123a29c631fa475815cf40cbd (diff)
parent39d78064da3748ed31f71c9a219433bfe9cd2d56 (diff)
downloadvolse-hubzilla-fb295d53f12c3376779dc052dc2341c242c631d9.tar.gz
volse-hubzilla-fb295d53f12c3376779dc052dc2341c242c631d9.tar.bz2
volse-hubzilla-fb295d53f12c3376779dc052dc2341c242c631d9.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'vendor/twbs/bootstrap/site/layouts/_default/docs.html')
-rw-r--r--vendor/twbs/bootstrap/site/layouts/_default/docs.html13
1 files changed, 7 insertions, 6 deletions
diff --git a/vendor/twbs/bootstrap/site/layouts/_default/docs.html b/vendor/twbs/bootstrap/site/layouts/_default/docs.html
index 2ad46376f..cbf06a554 100644
--- a/vendor/twbs/bootstrap/site/layouts/_default/docs.html
+++ b/vendor/twbs/bootstrap/site/layouts/_default/docs.html
@@ -1,3 +1,4 @@
+{{ define "body_override" }}<body{{ if (eq .Page.Params.toc true) }} data-bs-spy="scroll" data-bs-target="#TableOfContents"{{ end }}>{{ end }}
{{ define "main" }}
<div class="container-xxl bd-gutter mt-3 my-md-4 bd-layout">
<aside class="bd-sidebar">
@@ -16,9 +17,9 @@
<main class="bd-main order-1">
<div class="bd-intro pt-2 ps-lg-2">
<div class="d-md-flex flex-md-row-reverse align-items-center justify-content-between">
- <div class="mb-3 mb-md-0 d-flex">
+ <div class="mb-3 mb-md-0 d-flex text-nowrap">
{{- if .Page.Params.added -}}
- <small class="d-inline-flex px-2 py-1 fw-semibold text-success bg-success bg-opacity-10 border border-success border-opacity-10 rounded-2 me-2">Added in v{{ .Page.Params.added }}</small>
+ <small class="d-inline-flex px-2 py-1 fw-semibold text-success-emphasis bg-success-subtle border border-success-subtle rounded-2 me-2">Added in v{{ .Page.Params.added }}</small>
{{- end -}}
<a class="btn btn-sm btn-bd-light rounded-2" href="{{ .Site.Params.repo }}/blob/v{{ .Site.Params.current_version }}/site/content/{{ .Page.File.Path | replaceRE `\\` "/" }}" title="View and edit this file on GitHub" target="_blank" rel="noopener">
View on GitHub
@@ -31,13 +32,13 @@
</div>
{{ if (eq .Page.Params.toc true) }}
- <div class="bd-toc mt-3 mb-5 my-lg-0 ps-xl-3 mb-lg-5 text-body-secondary">
+ <div class="bd-toc mt-3 mb-5 my-lg-0 mb-lg-5 px-sm-1 text-body-secondary">
<button class="btn btn-link p-md-0 mb-2 mb-md-0 text-decoration-none bd-toc-toggle d-md-none" type="button" data-bs-toggle="collapse" data-bs-target="#tocContents" aria-expanded="false" aria-controls="tocContents">
On this page
<svg class="bi d-md-none ms-2" aria-hidden="true"><use xlink:href="#chevron-expand"></use></svg>
</button>
- <strong class="d-none d-md-block h6 my-2">On this page</strong>
- <hr class="d-none d-md-block my-2">
+ <strong class="d-none d-md-block h6 my-2 ms-3">On this page</strong>
+ <hr class="d-none d-md-block my-2 ms-3">
<div class="collapse bd-toc-collapse" id="tocContents">
{{ .TableOfContents }}
</div>
@@ -67,5 +68,5 @@
{{ range .Page.Params.extra_js -}}
<script{{ with .async }} async{{ end }} src="{{ .src }}"></script>
{{- end -}}
- <div class="position-fixed"><input type="text" tabindex="-1"></div>
+ <div class="position-fixed" aria-hidden="true"><input type="text" tabindex="-1"></div>
{{ end }}