From 57556e94a2775ec4eb14257b8c844f9785bb1b90 Mon Sep 17 00:00:00 2001 From: Alona Zherdetska <138328641+alionazherdetska@users.noreply.github.com> Date: Mon, 2 Dec 2024 16:35:38 +0100 Subject: [PATCH] fix(styles): removed gutter overrides for rg-sized screens and above (#3904) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …and above to restore Bootstrap utility behavior Co-authored-by: Alizé Debray <33580481+alizedebray@users.noreply.github.com> --- packages/styles/src/layouts/portal/_grid.scss | 29 ------------------- 1 file changed, 29 deletions(-) diff --git a/packages/styles/src/layouts/portal/_grid.scss b/packages/styles/src/layouts/portal/_grid.scss index 08cec5b241..412d74bc65 100644 --- a/packages/styles/src/layouts/portal/_grid.scss +++ b/packages/styles/src/layouts/portal/_grid.scss @@ -31,35 +31,6 @@ } } -// Overwrites gutter on rg-sized screens and bigger -@include media-breakpoint-up(rg) { - .col, - [class*='col-'] { - padding-right: portal-variables.$grid-gutter-width-rg * 0.5; - padding-left: portal-variables.$grid-gutter-width-rg * 0.5; - } - - .row { - margin-right: -(portal-variables.$grid-gutter-width-rg * 0.5); - margin-left: -(portal-variables.$grid-gutter-width-rg * 0.5); - - &.no-gutters { - margin-right: 0; - margin-left: 0; - } - } - - //deprecated - .vertical-gutters { - margin-bottom: -(portal-variables.$grid-gutter-width-rg); - - > .col, - > [class*='col-'] { - padding-bottom: portal-variables.$grid-gutter-width-rg; - } - } -} - //deprecated @each $breakpoint in grid.$grid-breakpoints-list { .container-fluid-#{$breakpoint} {