Image size does not respect specified units
Open
- Dominant language
- TypeScript
- Stars
- 716
- Forks
- 251
- PR merge metrics
- No merged PRs in 30d
Description
Description: When changing the image size units to percent, the image and the table cell do not adjust accordingly and remain in pixels.
Steps to reproduce:
Open https://grapesjs.com/demo-mjml.html
Select the image with car sciolino-paris-bw.jpg
Change the units to percent, and the value to 50
Observe that the td size will be set to 50px and the image to 50 without any units, instead of 50% of the parent element.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.