From d634228d1d045261ac6f3a9f5075583a1a3005b3 Mon Sep 17 00:00:00 2001 From: Nikos Roussos Date: Wed, 31 Mar 2021 15:01:28 +0300 Subject: [PATCH] PLANET-6034 Disable Bootstrap 5 XXL breakpoint --- assets/src/scss/bootstrap-build.scss | 1 + assets/src/scss/pages/_page.scss | 4 ---- assets/src/scss/vendors/_bootstrap.scss | 14 ++++++++++++++ 3 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 assets/src/scss/vendors/_bootstrap.scss diff --git a/assets/src/scss/bootstrap-build.scss b/assets/src/scss/bootstrap-build.scss index d27dd67dfa..1ef1680d2e 100644 --- a/assets/src/scss/bootstrap-build.scss +++ b/assets/src/scss/bootstrap-build.scss @@ -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"; diff --git a/assets/src/scss/pages/_page.scss b/assets/src/scss/pages/_page.scss index f92b460573..990470b706 100644 --- a/assets/src/scss/pages/_page.scss +++ b/assets/src/scss/pages/_page.scss @@ -19,10 +19,6 @@ div.page-template { width: 1140px; } - @media (min-width: 1400px) { - width: 1320px; - } - .container { padding-left: 0; padding-right: 0; diff --git a/assets/src/scss/vendors/_bootstrap.scss b/assets/src/scss/vendors/_bootstrap.scss new file mode 100644 index 0000000000..616d1fa080 --- /dev/null +++ b/assets/src/scss/vendors/_bootstrap.scss @@ -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 +);