Skip to content

Commit

Permalink
Fix OUDS mod comments in scss/_containers.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond committed Oct 24, 2024
1 parent c65e94d commit e3b0c10
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scss/_containers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Set the container width, and override it for fixed navbars in media queries.

@if $enable-container-classes {
// OUDS mod: `.container` selector is conditionally handle whenever `$enable-bootstrap-compatibility` is true
// 100% wide container at all breakpoints
.container-fluid {
@include make-container();
Expand All @@ -18,11 +19,13 @@

// Responsive containers that are 100% wide until a breakpoint
@each $breakpoint, $container-max-width in $container-max-widths {
// OUDS mod: link 2xl breakpoint to xxl
@if $breakpoint == 2xl {
.container-xxl {
@extend .container-fluid;
}
}
// End mod

.container-#{$breakpoint} {
@extend .container-fluid;
Expand Down Expand Up @@ -52,6 +55,7 @@
}
}

// OUDS mod
// scss-docs-start containers-max
.container-max-width {
@include media-breakpoint-up(get-breakpoint-from-width()) {
Expand Down

0 comments on commit e3b0c10

Please sign in to comment.