0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-28 10:24:19 +01:00

added @content directive to media-breakpoint-only mixin for min and max cases

This commit is contained in:
Alex Chegodaev 2017-08-17 11:27:59 +03:00 committed by Mark Otto
parent c4b3d81887
commit 1da730c67f

View File

@ -98,8 +98,12 @@
@content;
}
} @else if $max == null {
@include media-breakpoint-up($name)
@include media-breakpoint-up($name) {
@content;
}
} @else if $min == null {
@include media-breakpoint-down($name)
@include media-breakpoint-down($name) {
@content;
}
}
}