Polybuildr has uploaded a new change for review.

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

Change subject: Fix @noflip use in mediawiki.sectionAnchor.less
......................................................................

Fix @noflip use in mediawiki.sectionAnchor.less

In Ib81a60c7, \* @noflip *\ was meant to apply to an entire block, which
doesn't happen in LESS. This commit fixes that by using @noflip for
every line that it needs to apply to.

Also change spaces to tabs.

Change-Id: I3b3e82397f8bc1b7466805d4ed9ce315df04d057
---
M skinStyles/mediawiki.sectionAnchor.less
1 file changed, 36 insertions(+), 32 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/Vector 
refs/changes/71/193271/1

diff --git a/skinStyles/mediawiki.sectionAnchor.less 
b/skinStyles/mediawiki.sectionAnchor.less
index 0baf0d6..317221f 100644
--- a/skinStyles/mediawiki.sectionAnchor.less
+++ b/skinStyles/mediawiki.sectionAnchor.less
@@ -1,41 +1,45 @@
 @media screen {
-    .mw-headline-anchor {
-        margin-left: -16px;
-        width: 16px;
-    }
+       .mw-headline-anchor {
+               margin-left: -16px;
+               width: 16px;
+       }
 
-    /* @noflip */
-    .mw-content-ltr .mw-headline-anchor,
-    .mw-content-rtl .mw-content-ltr .mw-headline-anchor {
-        margin-left: -16px;
-        margin-right: 0;
-    }
+       .mw-content-ltr .mw-headline-anchor,
+       .mw-content-rtl .mw-content-ltr .mw-headline-anchor {
+        /* @noflip */
+               margin-left: -16px;
+        /* @noflip */
+               margin-right: 0;
+       }
 
-    /* @noflip */
-    .mw-content-rtl .mw-headline-anchor,
-    .mw-content-ltr .mw-content-rtl .mw-headline-anchor {
-        margin-left: 0;
-        margin-right: -16px;
-    }
+       .mw-content-rtl .mw-headline-anchor,
+       .mw-content-ltr .mw-content-rtl .mw-headline-anchor {
+        /* @noflip */
+               margin-left: 0;
+        /* @noflip */
+               margin-right: -16px;
+       }
 }
 
 @media screen and (min-width: 982px) {
-    .mw-headline-anchor {
-        margin-left: -20px;
-        width: 20px;
-    }
+       .mw-headline-anchor {
+               margin-left: -20px;
+               width: 20px;
+       }
 
-    /* @noflip */
-    .mw-content-ltr .mw-headline-anchor,
-    .mw-content-rtl .mw-content-ltr .mw-headline-anchor {
-        margin-left: -20px;
-        margin-right: 0;
-    }
+       .mw-content-ltr .mw-headline-anchor,
+       .mw-content-rtl .mw-content-ltr .mw-headline-anchor {
+               /* @noflip */
+               margin-left: -20px;
+               /* @noflip */
+               margin-right: 0;
+       }
 
-    /* @noflip */
-    .mw-content-rtl .mw-headline-anchor,
-    .mw-content-ltr .mw-content-rtl .mw-headline-anchor {
-        margin-left: 0;
-        margin-right: -20px;
-    }
+       .mw-content-rtl .mw-headline-anchor,
+       .mw-content-ltr .mw-content-rtl .mw-headline-anchor {
+               /* @noflip */
+               margin-left: 0;
+               /* @noflip */
+               margin-right: -20px;
+       }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3b3e82397f8bc1b7466805d4ed9ce315df04d057
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/Vector
Gerrit-Branch: master
Gerrit-Owner: Polybuildr <v.a.ghai...@gmail.com>

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

Reply via email to