Closed Phyks closed 9 years ago
Don't you remember that we had exactly the same issue in Greeder ? :D
I don't remember :/ But the problem seems to be only with Firefox on mobile, and not on PC, I think (the height: auto
tip does not seem to work).
Avec :
max-width:100%;
height:auto;
Ça ne fonctionne pas ?
Je confirme que ce bout de CSS y est déjà.
J'ai retesté, mais j'arrive plus à reproduire… Je clos et on rouvre si on le voit de nouveau. Mais c'est sûrement un bug dans firefox mobile du coup.
I managed to reproduce on the feed from TheBigPicture. The problem was that the img element in the feed had style directly on the element, imposing width and height, which was overwriting the height: auto;
directive.
I added some !important
in the CSS of images in articles to overwrite this behaviour. @tmos : Feel free to update it if it's not a good solution.
Consider to remove style="…"
attributes from the feed instead of using !important
in the CSS. It is cleaner and more reliable ;)
:+1:
:+1: :p
Images fit well the page width, but their aspect ratio ils not preserved, at least in Firefox for Android.
I don't remember such problem on Firefox for PC so maybe it's a mobile issue.