Images in comment preview are not scaled down to container width on mobile #4382
Labels
area: publishing experience
issues related to an authors experience publishing. Tags, series, etc.
bug
always open for contribution
external contributors welcome
contribution is welcome!
Describe the bug
The image when uploaded through the mobile site/PWA isn't scaled down to fit the comment's container when in
preview
mode.There is an earlier issue which #3264 which was marked as a duplicate of #3085 which was fixed by #3086 but from what I can see, that only tackles the image upload button's issue.
To Reproduce
preview
button.Expected behavior
The image scales down to the preview container's size as it does when the comment is posted.
Screenshots

Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
The image is correctly sized when posted as the CSS for class
single-comment-node
adds CSS for the image to bemax-width: 100%
. A similar CSS solution should be viable for the preview.The text was updated successfully, but these errors were encountered: