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.scss6
1 files changed, 4 insertions, 2 deletions
diff --git a/scss/_rfs.scss b/scss/_rfs.scss
index 4b7da11..96b8123 100644
--- a/scss/_rfs.scss
+++ b/scss/_rfs.scss
@@ -136,16 +136,18 @@ $enable-responsive-font-sizes: true !default;
@error "`#{$rfs-breakpoint-unit}` is not a valid unit for $rfs-breakpoint-unit. Use `px`, `em` or `rem`.";
}
- font-size: $rfs-static;
-
@if $rfs-generate-disable-classes {
// Adding an extra class increases specificity,
// which prevents the media query to override the font size
+ &,
.disable-responsive-font-size &,
&.disable-responsive-font-size {
font-size: $rfs-static;
}
}
+ @else {
+ font-size: $rfs-static;
+ }
@if $rfs-two-dimensional {
@media (max-width: #{$mq-value}), (max-height: #{$mq-value}) {