-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Milestone
Description
MJML already converts numbers into pixels in certain cases. This seems like it could result in a bug where we convert a number to a px for an underlying mjml component that doesn't do the conversion. If possible I'd rather have number be converted to a string instead.
mjml-react/src/utils/mjml-component-utils.ts
Lines 67 to 69 in e8befa5
| if (typeof value === "number" && numberToPixel.includes(name)) { | |
| return `${value}px`; | |
| } |
futchitwo
Metadata
Metadata
Assignees
Labels
No labels