JGonera has uploaded a new change for review.

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

Change subject: Remove !important styles for .content img
......................................................................

Remove !important styles for .content img

Fixes shields and phantom overlays in mobile VE.

These rules were moved from #content img in 8d0e4aa7. They do not seem
to affect Special:Uploads or Special:UserProfile in any way.

Unfortunately, I don't know what Nicole Sullivan says because of
[citation needed]. There are no other comments specifying what exactly
they were for, so it seems like a good idea to remove them and bring
them back somewhere else if necessary.

Bug: 60841

Change-Id: I2157134db93c9cf87bcca76135a34201ca8fe3c5
---
M less/common/common.less
1 file changed, 0 insertions(+), 8 deletions(-)


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

diff --git a/less/common/common.less b/less/common/common.less
index 57ef303..3d048fc 100644
--- a/less/common/common.less
+++ b/less/common/common.less
@@ -274,14 +274,6 @@
                }
        }
 
-       // Includes images on the profile and uploads special pages
-       img {
-               // FIXME [Inline Styles]: Important ensures we can overwrite 
any inline styles
-               // It's a leaf node so Nicole Sullivan says its okay
-               max-width: 100% !important;
-               height: auto !important;
-       }
-
        ul {
                list-style: square inside;
        }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2157134db93c9cf87bcca76135a34201ca8fe3c5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: JGonera <jgon...@wikimedia.org>

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

Reply via email to