You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would use this simple class to make an element disappear for viewport's width under 768px. .my-class { @include media-breakpoint-down(md) { display: none; } }
Instead, to reach my goal I need to pass "sm" to media-breakpoint-down. Considering that I left variables untouched, I thought that media-breakpoint-down(md) should work as expected. Same thing for media-breakpoint-down(lg): it triggers at 1200px and not at 992 as the name would suggest.
I think there's inconsistency with media-breakpoint-up, where i.e. media-breakpoint-up(md) gets triggered when viewport's width reaches 768px.
The text was updated successfully, but these errors were encountered:
Arch Linux
Firefox 77.0.1
Bootstrap 4.5.0
I would use this simple class to make an element disappear for viewport's width under 768px.
.my-class { @include media-breakpoint-down(md) { display: none; } }
Instead, to reach my goal I need to pass "sm" to media-breakpoint-down. Considering that I left variables untouched, I thought that media-breakpoint-down(md) should work as expected. Same thing for media-breakpoint-down(lg): it triggers at 1200px and not at 992 as the name would suggest.
I think there's inconsistency with media-breakpoint-up, where i.e. media-breakpoint-up(md) gets triggered when viewport's width reaches 768px.
The text was updated successfully, but these errors were encountered: