aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/site/layouts/shortcodes
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/site/layouts/shortcodes')
-rw-r--r--vendor/twbs/bootstrap/site/layouts/shortcodes/example.html2
-rw-r--r--vendor/twbs/bootstrap/site/layouts/shortcodes/js-docs.html16
-rw-r--r--vendor/twbs/bootstrap/site/layouts/shortcodes/scss-docs.html2
3 files changed, 13 insertions, 7 deletions
diff --git a/vendor/twbs/bootstrap/site/layouts/shortcodes/example.html b/vendor/twbs/bootstrap/site/layouts/shortcodes/example.html
index ab183e0a3..a162db521 100644
--- a/vendor/twbs/bootstrap/site/layouts/shortcodes/example.html
+++ b/vendor/twbs/bootstrap/site/layouts/shortcodes/example.html
@@ -21,7 +21,7 @@
<div class="bd-example-snippet bd-code-snippet">
{{- if eq $show_preview true -}}
- <div{{ with $id }} id="{{ . }}"{{ end }} class="bd-example{{ with $class }} {{ . }}{{ end }}">
+ <div{{ with $id }} id="{{ . }}"{{ end }} class="bd-example m-0 border-0{{ with $class }} {{ . }}{{ end }}">
{{- $input -}}
</div>
{{- end -}}
diff --git a/vendor/twbs/bootstrap/site/layouts/shortcodes/js-docs.html b/vendor/twbs/bootstrap/site/layouts/shortcodes/js-docs.html
index fad4f034f..4739e0a17 100644
--- a/vendor/twbs/bootstrap/site/layouts/shortcodes/js-docs.html
+++ b/vendor/twbs/bootstrap/site/layouts/shortcodes/js-docs.html
@@ -26,12 +26,18 @@
{{- $match = replace $match $capture_start "" -}}
{{- $match = replace $match $capture_end "" -}}
- <div class="bd-example-snippet bd-code-snippet">
- <div class="bd-clipboard">
- <button type="button" class="btn-clipboard" title="Copy to clipboard">
- <svg class="bi" aria-hidden="true"><use xlink:href="#clipboard"></use></svg>
- </button>
+ <div class="bd-example-snippet bd-code-snippet bd-file-ref">
+ <div class="d-flex align-items-center highlight-toolbar ps-3 pe-2 py-1 border-bottom">
+ <a class="font-monospace link-secondary link-underline-secondary link-underline-opacity-0 link-underline-opacity-100-hover small" href="{{ .Site.Params.repo }}/blob/v{{ .Site.Params.current_version }}/{{ $file | replaceRE `\\` "/" }}">
+ {{- $file -}}
+ </a>
+ <div class="d-flex ms-auto">
+ <button type="button" class="btn-clipboard mt-0 me-0" title="Copy to clipboard">
+ <svg class="bi" aria-hidden="true"><use xlink:href="#clipboard"/></svg>
+ </button>
+ </div>
</div>
+
{{- $unindent := 0 -}}
{{- $found := false -}}
{{- $first_line:= index (split $match "\n") 0 -}}
diff --git a/vendor/twbs/bootstrap/site/layouts/shortcodes/scss-docs.html b/vendor/twbs/bootstrap/site/layouts/shortcodes/scss-docs.html
index d28b29c92..4edc414fd 100644
--- a/vendor/twbs/bootstrap/site/layouts/shortcodes/scss-docs.html
+++ b/vendor/twbs/bootstrap/site/layouts/shortcodes/scss-docs.html
@@ -39,7 +39,7 @@
{{- $match = replace $match " !default" "" -}}
{{- end -}}
- <div class="bd-example-snippet bd-code-snippet bd-scss-docs">
+ <div class="bd-example-snippet bd-code-snippet bd-file-ref">
<div class="d-flex align-items-center highlight-toolbar ps-3 pe-2 py-1 border-bottom">
<a class="font-monospace link-secondary link-underline-secondary link-underline-opacity-0 link-underline-opacity-100-hover small" href="{{ .Site.Params.repo }}/blob/v{{ .Site.Params.current_version }}/{{ $file | replaceRE `\\` "/" }}">
{{- $file -}}