mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[REF] *: BS5: adapt changes in media query mixin
> Media query mixins parameters have changed for a more logical approach > media-breakpoint-down() uses the breakpoint itself instead of the next > breakpoint (e.g., media-breakpoint-down(lg) instead of > media-breakpoint-down(md) targets viewports smaller than lg). > Similarly, the second parameter in media-breakpoint-between() also > uses the breakpoint itself instead of the next breakpoint (e.g., > media-between(sm, lg) instead of media-breakpoint-between(sm, md) > targets viewports between sm and lg). https://getbootstrap.com/docs/5.1/migration/#sass Task ID: 2766483 Part-of: odoo/design-themes#580
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
@mixin s-features-carousel-inner-hook {
|
||||
.carousel-inner .row {
|
||||
margin: 0 70px;
|
||||
@include media-breakpoint-down(sm) {
|
||||
@include media-breakpoint-down(md) {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ $s-banner-3-padding: 0px;
|
||||
@mixin s-banner-3-col-center-hook {
|
||||
margin-left: 16.6667%;
|
||||
text-align: center;
|
||||
@include media-breakpoint-down(sm) {
|
||||
@include media-breakpoint-down(md) {
|
||||
margin-left: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user