Skip to content

Commit

Permalink
fix(styles): removed gutter overrides for rg-sized screens and above (#…
Browse files Browse the repository at this point in the history
…3904)

…and above to restore Bootstrap utility behavior

Co-authored-by: Alizé Debray <[email protected]>
  • Loading branch information
alionazherdetska and alizedebray authored Dec 2, 2024
1 parent 3361282 commit 57556e9
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions packages/styles/src/layouts/portal/_grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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} {
Expand Down

0 comments on commit 57556e9

Please sign in to comment.