Skip to content

Commit

Permalink
Change the .container-* behavior in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
louismaximepiton committed Oct 24, 2024
1 parent e6198d1 commit 8042e91
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions site/assets/scss/_component-examples.scss
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,15 @@
// Grid examples
//

@each $breakpoint, $gutter-width in $grid-gutter-widths {
@include media-breakpoint-up($breakpoint) {
.bd-example-row [class^="container"] {
padding-right: $gutter-width * .5;
padding-left: $gutter-width * .5;
}
}
}

.bd-example-row [class^="col"],
.bd-example-cols [class^="col"] > *,
.bd-example-cssgrid [class*="grid"] > * {
Expand Down

0 comments on commit 8042e91

Please sign in to comment.