Skip to content

Commit

Permalink
Update RFS to 9.0.3 (#30581)
Browse files Browse the repository at this point in the history
* Two dimensional fix - twbs/rfs#225
  • Loading branch information
MartijnCuppens authored Apr 14, 2020
1 parent 4efc1c4 commit 9eaeb38
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions scss/vendor/_rfs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9eaeb38

Please sign in to comment.