The banner {{PAGEBANNER:"The Split", Caye Caulker, Belize.jpg|toc=yes}} on a 1694px screen looks pixelated. We should add a max-width based on the maximum available resolution.
Description
Description
Details
Details
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
mediawiki/extensions/WikidataPageBanner | master | +3 -1 | WikidataPageBanner add max-width |
Related Objects
Related Objects
Event Timeline
Comment Actions
It would not be possible to determine max-width of image in css. Should a js approach be used after setting a data-max-width attribute in html of banner image?
Comment Actions
You could add an inline style surely and do this css only?
style="max-width:<max width>px;"
Comment Actions
Change 231886 had a related patch set uploaded (by Sumit):
WikidataPageBanner add max-wdith