email-bugs icon indicating copy to clipboard operation
email-bugs copied to clipboard

Desktop AND mobile images showing in Yahoo Mail (iOS)

Open Mr7Rr opened this issue 7 months ago • 1 comments

Email Client Yahoo Mail (v7.65.1)

Operating System iOS 18.5

Expected Result Desktop images are hidden on mobile using the correct CSS e.g: .m-hide {display:none!important; height:0!important; width:0px!important; visibility:hidden!important; line-height:0px!important; font-size:0px!important;

Mobile images are shown using the correct CSS, e.g.: .m-show {display:block !important; max-height:inherit !important; max-width:inherit !important; visibility: visible !important; overflow: visible !important; }

Actual Result Mobile and desktop images both show when a "/" is included at the end of the image tag

Image

Steps to reproduce

Code sample `

`

Mr7Rr avatar Jun 03 '25 14:06 Mr7Rr

Yahoo on iOS does support the <style> tag.

Yahoo iOS and Android sometimes strip classes from <img> tags. You can target a parent element instead.

husseinalhammad avatar Jun 03 '25 14:06 husseinalhammad