mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
Fix spacing of code snippets
This commit is contained in:
parent
5602093c7b
commit
3990ff04a0
@ -85,16 +85,10 @@
|
||||
.bd-example {
|
||||
position: relative;
|
||||
padding: 1rem;
|
||||
margin: 1rem ($bd-gutter-x * -.5) 0;
|
||||
border: solid $border-color;
|
||||
border-width: 1px 0 0;
|
||||
@include clearfix();
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
padding: 1.5rem;
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
border-width: 1px;
|
||||
@include border-top-radius(var(--bs-border-radius));
|
||||
}
|
||||
|
||||
@ -375,23 +369,24 @@
|
||||
}
|
||||
}
|
||||
|
||||
.bd-example-snippet {
|
||||
.highlight {
|
||||
@include border-top-radius(0);
|
||||
border: 1px solid $border-color;
|
||||
}
|
||||
.highlight-toolbar {
|
||||
border: solid $border-color;
|
||||
border-width: 0 1px;
|
||||
}
|
||||
}
|
||||
.bd-code-snippet {
|
||||
margin: $spacer ($bd-gutter-x * -.5);
|
||||
border: solid $border-color;
|
||||
border-width: 1px 0;
|
||||
|
||||
.bd-content .highlight {
|
||||
margin-right: $bd-gutter-x * -.5;
|
||||
margin-left: $bd-gutter-x * -.5;
|
||||
.highlight {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
border-width: 1px;
|
||||
@include border-radius($border-radius);
|
||||
}
|
||||
}
|
||||
|
||||
.highlight-toolbar {
|
||||
border: solid $border-color;
|
||||
border-width: 1px 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user