awjrichards has submitted this change and it was merged.

Change subject: * (bug 43425) Fix aspect ratio on images reduced to fit width
......................................................................


* (bug 43425) Fix aspect ratio on images reduced to fit width

We were setting a max-width but the height was left at the implicit
original height of the image. Adding height: auto resolves this by
keeping the aspect ratio neat.

Change-Id: I72f027130b464a41e18bfad06b76c8146849b726
---
M stylesheets/common/mf-hacks.css
M stylesheets/less/common/mf-hacks.less
2 files changed, 3 insertions(+), 1 deletion(-)

Approvals:
  MaxSem: Looks good to me, but someone else must approve
  awjrichards: Verified; Looks good to me, approved
  jenkins-bot: Checked


--
To view, visit https://gerrit.wikimedia.org/r/40567
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I72f027130b464a41e18bfad06b76c8146849b726
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Brion VIBBER <br...@wikimedia.org>
Gerrit-Reviewer: MaxSem <maxsem.w...@gmail.com>
Gerrit-Reviewer: awjrichards <aricha...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to