EBernhardson has uploaded a new change for review.

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


Change subject: Avoid unexpected results by using unitless line-height
......................................................................

Avoid unexpected results by using unitless line-height

Inheritance of unit specified line-heights does not work as one might
expect.  In some browsers line height is inherited as either unitless
or in pixels. The result is that an inherited line height that was
specified in em is no longer tied to the font size.  Unitless line-height
is the same size as em, but is inherited unitless and applies to the
local font size.

Change-Id: I5359f0c22f2aea70f72c4999b104f965d72bac2d
---
M modules/base/styles/container.less
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/76/103576/1

diff --git a/modules/base/styles/container.less 
b/modules/base/styles/container.less
index 22d6884..30ae58f 100644
--- a/modules/base/styles/container.less
+++ b/modules/base/styles/container.less
@@ -53,6 +53,8 @@
 
 .flow-container {
        font-size: 16px;
+       // Avoid unexpected results by using unitless line-height
+       line-height: 1.5;
 
        // allow width to float a bit so we can accommodate some smaller screens
        min-width: 400px;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5359f0c22f2aea70f72c4999b104f965d72bac2d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <ebernhard...@wikimedia.org>

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

Reply via email to