jenkins-bot has submitted this change and it was merged.

Change subject: Fixing font size in beta
......................................................................


Fixing font size in beta

We have to use !important on the font-size of the html element
since the html element cannot be targeted to stable or beta (as it
is outside the body element). Thus we have to override the rule in
typography.less.

Bug: 61291
Change-Id: I6c52e55729bc2c1eedf00ddb6d2c4a39414e5148
---
M less/common/typographyNew.less
1 file changed, 5 insertions(+), 2 deletions(-)

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



diff --git a/less/common/typographyNew.less b/less/common/typographyNew.less
index 7d52a50..f47c754 100644
--- a/less/common/typographyNew.less
+++ b/less/common/typographyNew.less
@@ -2,8 +2,11 @@
 @import "minerva.mixins";
 
 html {
-       // When moving to stable, change @fontScalingFactor to 1.0
-       font-size: 100%;
+       // When moving to stable, change @fontScalingFactor to 1.0.
+       // We have to use !important here since the html element cannot be 
targeted to stable
+       // or beta (as it is outside the body element). Thus we have to 
override the rule in
+       // typography.less.
+       font-size: 100% !important;
 }
 
 .beta, .alpha {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6c52e55729bc2c1eedf00ddb6d2c4a39414e5148
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Kaldari <rkald...@wikimedia.org>
Gerrit-Reviewer: JGonera <jgon...@wikimedia.org>
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