Skip to content

Commit 82fa5a4

Browse files
committed
fix: remove multiplication with 16 in remToUnitless
1 parent 8ef3764 commit 82fa5a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/code/src/config/dimension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const values: number[] = [
4141
]
4242

4343
function remToUnitless(r: string): number {
44-
return Number.parseFloat(round(Number.parseFloat(r.replace('rem', '')) * 16))
44+
return Number.parseFloat(round(Number.parseFloat(r.replace('rem', ''))))
4545
}
4646

4747
function createComputedDimensions() {

0 commit comments

Comments
 (0)