0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-26 23:54:23 +01:00

One more code snippet fix

This commit is contained in:
Mark Otto 2022-04-18 21:41:58 -07:00 committed by Mark Otto
parent 3362c8cf13
commit 2aad1696f1

View File

@ -94,13 +94,25 @@
.bd-example {
position: relative;
padding: 1rem;
margin: 0 ($bd-gutter-x * -.5);
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));
}
+ .bd-code-snippet {
@include border-top-radius(0);
border: solid $border-color;
border-width: 0 1px 1px;
}
+ p {
margin-top: 2rem;
}
@ -379,12 +391,16 @@
}
.bd-code-snippet {
margin: $spacer ($bd-gutter-x * -.5);
margin: 0 ($bd-gutter-x * -.5) $spacer;
.highlight {
margin-bottom: 0;
}
.bd-example {
border: 0;
}
@include media-breakpoint-up(md) {
margin-right: 0;
margin-left: 0;