aboutsummaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorJulien Déramond <[email protected]>2023-01-05 21:33:06 +0100
committerMark Otto <[email protected]>2023-01-05 19:29:17 -0800
commit1b83ab24fcd14a7ca413c732eebf04193a644c8f (patch)
tree706df142e3712e594b7e35f65cac4d344125eeb1 /site
parent1c05a887eacee27b785a6fc2403a43cae76dfae3 (diff)
downloadbootstrap-1b83ab24fcd14a7ca413c732eebf04193a644c8f.tar.xz
bootstrap-1b83ab24fcd14a7ca413c732eebf04193a644c8f.zip
Docs: remove some CSS from `.highlight-toolbar` def
Diffstat (limited to 'site')
-rw-r--r--site/assets/scss/_component-examples.scss7
-rw-r--r--site/layouts/shortcodes/example.html2
2 files changed, 1 insertions, 8 deletions
diff --git a/site/assets/scss/_component-examples.scss b/site/assets/scss/_component-examples.scss
index cde77a2c9..f47ca1ada 100644
--- a/site/assets/scss/_component-examples.scss
+++ b/site/assets/scss/_component-examples.scss
@@ -389,13 +389,6 @@
.highlight-toolbar {
background-color: var(--bd-pre-bg);
- border: solid var(--bs-border-color);
- border-width: 1px 0;
-
- .btn-clipboard {
- margin-top: 0;
- margin-right: 0;
- }
}
.focused {
diff --git a/site/layouts/shortcodes/example.html b/site/layouts/shortcodes/example.html
index 8a9cdff0c..fccb39b6b 100644
--- a/site/layouts/shortcodes/example.html
+++ b/site/layouts/shortcodes/example.html
@@ -28,7 +28,7 @@
{{- if eq $show_markup true -}}
{{- if eq $show_preview true -}}
- <div class="d-flex align-items-center highlight-toolbar ps-3 pe-2 py-1">
+ <div class="d-flex align-items-center highlight-toolbar ps-3 pe-2 py-1 border-0 border-top border-bottom">
<small class="font-monospace text-muted text-uppercase">{{- $lang -}}</small>
<div class="d-flex ms-auto">
<button type="button" class="btn-edit text-nowrap"{{ with $stackblitz_add_js }} data-sb-js-snippet="{{ $stackblitz_add_js }}"{{ end }} title="Try it on StackBlitz">