Skip to content
This repository was archived by the owner on May 10, 2023. It is now read-only.
This repository was archived by the owner on May 10, 2023. It is now read-only.

Values are not rounded properly #44

Closed
@jednano

Description

@jednano

For example, I have a root value of 14px and the following CSS:

.foo {   
    font: 300 1.14286rem/1.28571rem 'Source Sans Pro', Arial, sans-serif;
}

Which transpiles into:

.foo {
    font: 300 16px/17px 'Source Sans Pro', Arial, sans-serif;
}

But 14px * 1.28571 === 17.99994. I would expect 16px/18px instead.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions