Skip to content

Commit

Permalink
fix: remove multiplication with 16 in remToUnitless
Browse files Browse the repository at this point in the history
  • Loading branch information
MiguelFranken committed Aug 20, 2024
1 parent 8ef3764 commit 82fa5a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/code/src/config/dimension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const values: number[] = [
]

function remToUnitless(r: string): number {
return Number.parseFloat(round(Number.parseFloat(r.replace('rem', '')) * 16))
return Number.parseFloat(round(Number.parseFloat(r.replace('rem', ''))))
}

function createComputedDimensions() {
Expand Down

0 comments on commit 82fa5a4

Please sign in to comment.