diff options
author | Martijn Cuppens <martijn.cuppens@gmail.com> | 2021-06-18 08:51:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-18 08:51:13 +0300 |
commit | bc1c03757219d4f6dc8ebe7d8eef656ecbae3337 (patch) | |
tree | cd8e63ae86da4fab777b123d8333eaae962f6514 /lib | |
parent | 2f0be6b888a8c2d53b70b7d31f6ab0b55d599d68 (diff) |
Multiplication fix (#371)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rfs.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ module.exports = class { if (this.opts.baseValue.endsWith('px')) { this.opts.baseValue = Number.parseFloat(this.opts.baseValue); } else if (this.opts.baseValue.endsWith('rem')) { - this.opts.baseValue = Number.parseFloat(this.opts.baseValue) / this.opts.remValue; + this.opts.baseValue = Number.parseFloat(this.opts.baseValue) * this.opts.remValue; } else { console.error(BASE_RFS_ERROR); } |