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:
parent
4efc1c462d
commit
9eaeb38ac0
1 changed files with 9 additions and 2 deletions
11
scss/vendor/_rfs.scss
vendored
11
scss/vendor/_rfs.scss
vendored
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue