Images wider than editor are shrunk horizontally #14542
Labels
package:image
squad:core
Issue to be handled by the Core team.
type:task
This issue reports a chore (non-production change) and other types of "todos".
Milestone
Provide a description of the task
After introducing the width and height attributes for images, if an image is added that is wider than the width of the editor, it will be shrunk horizontally. This is due to the max-width: 100% for images, while the height is taken from the new height attribute. As a result, the image is only as wide as the editor, but the height remains unchanged.
The task is to force the images to have a good appearance in the above cases.
The text was updated successfully, but these errors were encountered: