I am subscribed to a question I created on my site. Someone responded with an answer that included an image. In the Q/A area this image is accurately and appropriately resized to fit in the window. However, since I'm subscribed to this question I get a preview of it in the notifications stream. When I checked my notifications the image was showing out past the side. Just wondering if the same CSS principles are applied in the notifications stream.
See attached image of the scenario
This requires a platform change (the messaging module is there) or we need to provide more control over image uploads (difficult to achieve short term since it requires a 'cropping' tool and updates to storage and platform as well).
I added css fix in coreMessage module.css
as
ul.messages dd.message img {
max-width: 100% !important;
height: auto !important;
}
Verified and fixed. I have tested this in both Suite and Social v2.1 build 407 and it is fixed in both cases. Image now appears appropriately in Notification section.