diff options
| author | Travis Risner <[email protected]> | 2021-11-25 18:01:19 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-11-25 14:01:19 -1000 |
| commit | 45eb70e03c1905d247c6e012fff9e263d1326066 (patch) | |
| tree | e98dd14e6fb340a7de90e19bd971c68f46e4fadd /scss/_root.scss | |
| parent | 3c8fbb6581aabd02603cf3876770e526a7b870fd (diff) | |
| download | bootstrap-45eb70e03c1905d247c6e012fff9e263d1326066.tar.xz bootstrap-45eb70e03c1905d247c6e012fff9e263d1326066.zip | |
Correctly implement RFS in `:root` CSS variable for `$body-font-size` (#35326)
* rfs fix
* Update scss/_root.scss
* Update _reboot.scss
Co-authored-by: Mark Otto <[email protected]>
Co-authored-by: Mark Otto <[email protected]>
Diffstat (limited to 'scss/_root.scss')
| -rw-r--r-- | scss/_root.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/_root.scss b/scss/_root.scss index 5e138e97b..2927c343f 100644 --- a/scss/_root.scss +++ b/scss/_root.scss @@ -41,7 +41,7 @@ --#{$variable-prefix}root-font-size: #{$font-size-root}; } --#{$variable-prefix}body-font-family: #{$font-family-base}; - --#{$variable-prefix}body-font-size: #{$font-size-base}; + @include rfs($font-size-base, --#{$variable-prefix}body-font-size); --#{$variable-prefix}body-font-weight: #{$font-weight-base}; --#{$variable-prefix}body-line-height: #{$line-height-base}; --#{$variable-prefix}body-color: #{$body-color}; |
