Jdlrobson has submitted this change and it was merged.

Change subject: Support hlists out in the world out of the box
......................................................................


Support hlists out in the world out of the box

Currently this is is in Mobile.css - it's more maintainable and
reusable here
Included FIXME - ideally hlist class should be on ul

Change-Id: I9e51272ea681380cc7a45cf40c92ace99e72cdd0
---
M less/common/mf-common.less
M stylesheets/common/mf-common.css
2 files changed, 12 insertions(+), 10 deletions(-)

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



diff --git a/less/common/mf-common.less b/less/common/mf-common.less
index 2de067b..d8b06b0 100644
--- a/less/common/mf-common.less
+++ b/less/common/mf-common.less
@@ -308,15 +308,16 @@
        font-weight: bold;
 }
 
+.hlist > ul, // FIXME: to support hlists on enwiki projects - this should be 
deprecated
+ul.hlist {
+       li {
+               display: inline-block;
+               margin-right: 8px;
+       }
+}
+
 ul {
        list-style: square inside;
-
-       &.hlist {
-               li {
-                       display: inline-block;
-                       margin-right: 8px;
-               }
-       }
 }
 
 ol {
diff --git a/stylesheets/common/mf-common.css b/stylesheets/common/mf-common.css
index 674e88c..da64e3f 100644
--- a/stylesheets/common/mf-common.css
+++ b/stylesheets/common/mf-common.css
@@ -260,13 +260,14 @@
 b {
   font-weight: bold;
 }
-ul {
-  list-style: square inside;
-}
+.hlist > ul li,
 ul.hlist li {
   display: inline-block;
   margin-right: 8px;
 }
+ul {
+  list-style: square inside;
+}
 ol {
   list-style: decimal inside;
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I9e51272ea681380cc7a45cf40c92ace99e72cdd0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: JGonera <[email protected]>
Gerrit-Reviewer: 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