React Bootstrap CSS -модуль Используйте медиа -запросы миксин
/* when using webpack and bootstrap is installed via yarn/npm*/
@import '~bootstrap/scss/functions';
@import '~bootstrap/scss/variables';
@import '~bootstrap/scss/mixins/_breakpoints';
.someClass {
@include media-breakpoint-up(md) {
/* your styles to be applied on medium screens and up */
}
}
Crazy Caracal