Jdlrobson has uploaded a new change for review.
https://gerrit.wikimedia.org/r/62415
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(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/15/62415/1
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: newchange
Gerrit-Change-Id: I9e51272ea681380cc7a45cf40c92ace99e72cdd0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits