Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/rfs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scss/_rfs.scss')
-rw-r--r--scss/_rfs.scss7
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;