Skip to content

Commit

Permalink
Merge pull request #1350 from greenpeace/planet-6034-fix
Browse files Browse the repository at this point in the history
PLANET-6034 Disable Bootstrap 5 XXL breakpoint
  • Loading branch information
comzeradd authored Mar 31, 2021
2 parents 1fe9a7f + d634228 commit bc6717a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
1 change: 1 addition & 0 deletions assets/src/scss/bootstrap-build.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Text Domain: planet4-master-theme

// Configuration

@import "vendors/bootstrap";
@import "~bootstrap/scss/functions";
@import "~bootstrap/scss/variables";
@import "~bootstrap/scss/mixins";
Expand Down
4 changes: 0 additions & 4 deletions assets/src/scss/pages/_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ div.page-template {
width: 1140px;
}

@media (min-width: 1400px) {
width: 1320px;
}

.container {
padding-left: 0;
padding-right: 0;
Expand Down
14 changes: 14 additions & 0 deletions assets/src/scss/vendors/_bootstrap.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
$grid-breakpoints: (
xs: 0,
sm: 576px,
md: 768px,
lg: 992px,
xl: 1200px
);

$container-max-widths: (
sm: 540px,
md: 720px,
lg: 960px,
xl: 1140px
);

0 comments on commit bc6717a

Please sign in to comment.