diff options
author | Martijn Cuppens <martijn.cuppens@gmail.com> | 2018-08-30 21:54:43 +0300 |
---|---|---|
committer | Martijn Cuppens <martijn.cuppens@gmail.com> | 2018-08-30 21:54:54 +0300 |
commit | 8faebf19e139d5970540f239c04c43ba245456b3 (patch) | |
tree | 2a7462646c3a70e904fffcd830d561c8d1179fe1 /scss/_rfs.scss | |
parent | c379acb7d3870ee53e522b16299798b91669b4a9 (diff) |
Allow to enable/disable RFS on the flyv7.1.4
Diffstat (limited to 'scss/_rfs.scss')
-rw-r--r-- | scss/_rfs.scss | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/scss/_rfs.scss b/scss/_rfs.scss index 854248c..4538742 100644 --- a/scss/_rfs.scss +++ b/scss/_rfs.scss @@ -34,11 +34,6 @@ $rfs-safari-iframe-resize-bug-fix: false !default; // Disable RFS by setting $enable-responsive-font-sizes to false $enable-responsive-font-sizes: true !default; -@if $enable-responsive-font-sizes == false { - // If $rfs-factor is set to 1, fluid font-resizing is disabled - $rfs-factor: 1; -} - // Remove px-unit from $rfs-minimum-font-size for calculations @if unit($rfs-minimum-font-size) == "px" { $rfs-minimum-font-size: $rfs-minimum-font-size / ($rfs-minimum-font-size * 0 + 1); @@ -98,7 +93,7 @@ $enable-responsive-font-sizes: true !default; // Only add media query if font-size is bigger as the minimum font-size // If $rfs-factor == 1, no rescaling will take place - @if $fs > $rfs-minimum-font-size and $rfs-factor != 1 { + @if $fs > $rfs-minimum-font-size and $rfs-factor != 1 and $enable-responsive-font-sizes { $min-width: null; $variable-unit: null; |