1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-29 08:10:47 +02:00

Do some CSS and Migration guide cleanup (#36191)

* Do some CSS and Migration guide cleanup

- More code snippet tweaks
- Fix some homepage hero bugs
- Do a cleanup on Migration guide content to highlight more changes and fix some issues from merge conflicts
This commit is contained in:
Mark Otto
2022-04-18 20:56:18 -07:00
committed by GitHub
parent 3990ff04a0
commit 3362c8cf13
5 changed files with 30 additions and 44 deletions

View File

@@ -82,6 +82,15 @@
// Docs examples
//
.bd-example-snippet {
border: solid $border-color;
border-width: 1px 0;
@include media-breakpoint-up(md) {
border-width: 1px;
}
}
.bd-example {
position: relative;
padding: 1rem;
@@ -371,8 +380,6 @@
.bd-code-snippet {
margin: $spacer ($bd-gutter-x * -.5);
border: solid $border-color;
border-width: 1px 0;
.highlight {
margin-bottom: 0;
@@ -381,7 +388,6 @@
@include media-breakpoint-up(md) {
margin-right: 0;
margin-left: 0;
border-width: 1px;
@include border-radius($border-radius);
}
}