Skip to content

CSS property values that are strings shouldn't have 'px' appended #1357

@sophiebits

Description

@sophiebits

It's weird that style={{margin: '42'}} gets turned into margin: 42px;. I think we should only add px if the value is an actual number.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions