-
Bug
-
Resolution: Fixed
-
Minor
-
4.2.6, 4.3.3, 4.4.2, 4.5
When using Outlook, when you open an email coming from a forum post, and that forum post has an attachment, the attachment icon is displayed at an incorrect size, as shown in the attached image.
As far as I can tell, the problem is that the icon is an SVG, and has no intrinsic dimensions. In that case Outlook relies on CSS or image attributes to set the dimensions of the image, but it seems like the message doesn't include any CSS that targets the icon class. Failing that, Outlook renders the icon at the width of the container (in this case, the table cell it is in) so, the wider the message, the bigger the icon is displayed.
It is not a problem in Gmail, since it just doesn't display the image and falls back to the alt text.
Found in Moodle 4.3.3 (Build: 20240212) with the Boost theme.