1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Update RFS to 9.0.3 (#30581)

* Two dimensional fix - https://github.com/twbs/rfs/pull/225
This commit is contained in:
Martijn Cuppens 2020-04-14 14:04:29 +02:00 committed by GitHub
parent 4efc1c462d
commit 9eaeb38ac0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

11
scss/vendor/_rfs.scss vendored
View file

@ -79,8 +79,15 @@ $rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height
// Internal mixin used to determine which media query needs to be used
@mixin _rfs-media-query {
@if $rfs-two-dimensional {
@media (#{$rfs-mq-property-width}: #{$rfs-mq-value}), (#{$rfs-mq-property-height}: #{$rfs-mq-value}) {
@content;
@if $rfs-mode == max-media-query {
@media (#{$rfs-mq-property-width}: #{$rfs-mq-value}), (#{$rfs-mq-property-height}: #{$rfs-mq-value}) {
@content;
}
}
@else {
@media (#{$rfs-mq-property-width}: #{$rfs-mq-value}) and (#{$rfs-mq-property-height}: #{$rfs-mq-value}) {
@content;
}
}
}
@else {