jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/370828 )

Change subject: Monobook uses x-small and a globalWrapper to make everything 
inside of it appear normal. However, the revslider-tooltips are not inside this 
globalWrapper, and thus need a separate CSS rule.
......................................................................


Monobook uses x-small and a globalWrapper to make everything inside
of it appear normal. However, the revslider-tooltips are not inside
this globalWrapper, and thus need a separate CSS rule.

Bug: T166231
Change-Id: I2115688fee75145349e062b9586713a56541afa0
---
M extension.json
A modules/ext.RevisionSlider.modern.css
A modules/ext.RevisionSlider.monobook.css
3 files changed, 22 insertions(+), 0 deletions(-)

Approvals:
  WMDE-Fisch: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/extension.json b/extension.json
index 6b188b5..7ee0604 100644
--- a/extension.json
+++ b/extension.json
@@ -53,6 +53,14 @@
                        "styles": [
                                "modules/ext.RevisionSlider.css"
                        ],
+                       "skinStyles": {
+                               "monobook": [
+                                       
"modules/ext.RevisionSlider.monobook.css"
+                               ],
+                               "modern": [
+                                       "modules/ext.RevisionSlider.modern.css"
+                               ]
+                       },
                        "dependencies": [
                                "oojs-ui",
                                "oojs-ui.styles.icons-movement",
diff --git a/modules/ext.RevisionSlider.modern.css 
b/modules/ext.RevisionSlider.modern.css
new file mode 100644
index 0000000..ac5fa8e
--- /dev/null
+++ b/modules/ext.RevisionSlider.modern.css
@@ -0,0 +1,7 @@
+/* HACK: Modern uses x-small and a globalWrapper to make everything
+   inside of it appear normal. However, the revslider-tooltips are
+   not inside this globalWrapper, and thus need a separate CSS rule.
+   Once this issue is fixed, this rule can be removed. (T166231) */
+.mw-revslider-tooltip {
+       font-size: 0.8rem;
+}
diff --git a/modules/ext.RevisionSlider.monobook.css 
b/modules/ext.RevisionSlider.monobook.css
new file mode 100644
index 0000000..b981b16
--- /dev/null
+++ b/modules/ext.RevisionSlider.monobook.css
@@ -0,0 +1,7 @@
+/* HACK: Monobook uses x-small and a globalWrapper to make everything
+   inside of it appear normal. However, the revslider-tooltips are
+   not inside this globalWrapper, and thus need a separate CSS rule.
+   Once this issue is fixed, this rule can be removed. (T166231) */
+.mw-revslider-tooltip {
+       font-size: 0.8rem;
+}

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I2115688fee75145349e062b9586713a56541afa0
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/RevisionSlider
Gerrit-Branch: master
Gerrit-Owner: MtDu <justin.d...@gmail.com>
Gerrit-Reviewer: Addshore <addshorew...@gmail.com>
Gerrit-Reviewer: Andrew-WMDE <andrew.kos...@wikimedia.de>
Gerrit-Reviewer: Catrope <r...@wikimedia.org>
Gerrit-Reviewer: MtDu <justin.d...@gmail.com>
Gerrit-Reviewer: Tobias Gritschacher <tobias.gritschac...@wikimedia.de>
Gerrit-Reviewer: WMDE-Fisch <christoph.jau...@wikimedia.de>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to