aboutsummaryrefslogtreecommitdiff
path: root/site/layouts/shortcodes/example.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2023-04-26 15:57:27 -0700
committerGitHub <[email protected]>2023-04-26 15:57:27 -0700
commit6182c0d96249344ba0288d175bead275c3ec42dd (patch)
treee7a190873abfb9eea5c54a639140efbba8cefc2b /site/layouts/shortcodes/example.html
parent1fcae4393c9a723fffa5d8e923ab9f2050ac6273 (diff)
downloadbootstrap-6182c0d96249344ba0288d175bead275c3ec42dd.tar.xz
bootstrap-6182c0d96249344ba0288d175bead275c3ec42dd.zip
Add new docsref page, fix docs border-radius issues (#38491)
* Add new docsref page, fix docs border-radius issues * Remove commented out code * Update docsref.md * Fix no-code example, fix mobile styles * Updates from review * Fix block margin, remove margin-right from pre on mobile since no clipboard icons, adjust masthead snippet * Fix errant styles for border-radius on homepage --------- Co-authored-by: XhmikosR <[email protected]>
Diffstat (limited to 'site/layouts/shortcodes/example.html')
-rw-r--r--site/layouts/shortcodes/example.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/layouts/shortcodes/example.html b/site/layouts/shortcodes/example.html
index ab183e0a3..a162db521 100644
--- a/site/layouts/shortcodes/example.html
+++ b/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 -}}