Jdlrobson has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/65866


Change subject: Bug 48728: Scale thumbnails on Commons
......................................................................

Bug 48728: Scale thumbnails on Commons

Change-Id: I330e277ae1034fe9cd018abfc84f72f6966cf91d
---
M less/common/mf-hacks.less
M stylesheets/common/mf-hacks.css
2 files changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/66/65866/1

diff --git a/less/common/mf-hacks.less b/less/common/mf-hacks.less
index c50da2d..04c5de2 100644
--- a/less/common/mf-hacks.less
+++ b/less/common/mf-hacks.less
@@ -24,6 +24,7 @@
 }
 
 img.tex,
+.image img, // Dream of Wiki standardisation (Wikimedia Commons)
 .thumb img {
        max-width: 100% !important;
        width: auto !important;
diff --git a/stylesheets/common/mf-hacks.css b/stylesheets/common/mf-hacks.css
index 8cdfc9d..05d6e41 100644
--- a/stylesheets/common/mf-hacks.css
+++ b/stylesheets/common/mf-hacks.css
@@ -20,6 +20,7 @@
   max-width: 100%;
 }
 img.tex,
+.image img,
 .thumb img {
   max-width: 100% !important;
   width: auto !important;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I330e277ae1034fe9cd018abfc84f72f6966cf91d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to