Skip to content

Commit

Permalink
Docs: remove some CSS from .highlight-toolbar def
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond authored and mdo committed Jan 6, 2023
1 parent 1c05a88 commit 1b83ab2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions site/assets/scss/_component-examples.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion site/layouts/shortcodes/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 1b83ab2

Please sign in to comment.