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 // Internal mixin used to determine which media query needs to be used
@mixin _rfs-media-query { @mixin _rfs-media-query {
@if $rfs-two-dimensional { @if $rfs-two-dimensional {
@media (#{$rfs-mq-property-width}: #{$rfs-mq-value}), (#{$rfs-mq-property-height}: #{$rfs-mq-value}) { @if $rfs-mode == max-media-query {
@content; @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 { @else {