diff options
| author | Martijn Cuppens <[email protected]> | 2020-04-14 14:04:29 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-04-14 14:04:29 +0200 |
| commit | 9eaeb38ac04f7f777c074336619d434775862490 (patch) | |
| tree | dd9cf33b1d2559e03f5ffe80fa0bdce1258ecd42 | |
| parent | 4efc1c462da3be1ef7f6716436349ee67be60ee6 (diff) | |
| download | bootstrap-9eaeb38ac04f7f777c074336619d434775862490.tar.xz bootstrap-9eaeb38ac04f7f777c074336619d434775862490.zip | |
Update RFS to 9.0.3 (#30581)
* Two dimensional fix - https://github.com/twbs/rfs/pull/225
| -rw-r--r-- | scss/vendor/_rfs.scss | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/scss/vendor/_rfs.scss b/scss/vendor/_rfs.scss index a68e73807..798753ecb 100644 --- a/scss/vendor/_rfs.scss +++ b/scss/vendor/_rfs.scss @@ -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 { |
