aboutsummaryrefslogtreecommitdiff
path: root/site/layouts/shortcodes/example.html
diff options
context:
space:
mode:
authorLouis-Maxime Piton <[email protected]>2022-05-24 19:39:57 +0200
committerGitHub <[email protected]>2022-05-24 10:39:57 -0700
commitdea14df8ca9dffbaa77168fa7bdac853364d52c5 (patch)
treeb7f6dff439a7e12d940b10aa929c3e2b2e17d3ad /site/layouts/shortcodes/example.html
parentafef596f2019ba8a8d2f28153281afd2d8d39367 (diff)
downloadbootstrap-dea14df8ca9dffbaa77168fa7bdac853364d52c5.tar.xz
bootstrap-dea14df8ca9dffbaa77168fa7bdac853364d52c5.zip
CSS: doc fixes (#36425)
* Remove unused attributes * Use utilities rather than using new CSS * Removed unused class * Change StackBlitz icon `aria-label` + small inconsistency
Diffstat (limited to 'site/layouts/shortcodes/example.html')
-rw-r--r--site/layouts/shortcodes/example.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/site/layouts/shortcodes/example.html b/site/layouts/shortcodes/example.html
index 9dab2f9d1..9bfa2c906 100644
--- a/site/layouts/shortcodes/example.html
+++ b/site/layouts/shortcodes/example.html
@@ -24,14 +24,14 @@
{{- if eq $show_markup true -}}
{{- if eq $show_preview true -}}
- <div class="d-flex align-items-center highlight-toolbar bg-light ps-3 pe-2 py-1">
+ <div class="d-flex align-items-center highlight-toolbar bg-light ps-3 pe-2 py-1">
<small class="font-monospace text-muted text-uppercase">{{- $lang -}}</small>
<div class="d-flex ms-auto">
<button type="button" class="btn-edit text-nowrap" title="Try it on StackBlitz">
- <svg class="bi" width="1em" height="1em" fill="currentColor" role="img" aria-label="Copy"><use xlink:href="#lightning-charge-fill"/></svg>
+ <svg class="bi" role="img" aria-label="Try it"><use xlink:href="#lightning-charge-fill"/></svg>
</button>
- <button type="button" class="btn-clipboard" title="Copy to clipboard">
- <svg class="bi" width="1em" height="1em" fill="currentColor" role="img" aria-label="Copy"><use xlink:href="#clipboard"/></svg>
+ <button type="button" class="btn-clipboard mt-0 me-0" title="Copy to clipboard">
+ <svg class="bi" role="img" aria-label="Copy"><use xlink:href="#clipboard"/></svg>
</button>
</div>
</div>