From: Erwin Dokter Date: Wed, 9 Apr 2014 15:33:12 +0000 (+0000) Subject: Typography Refresh - Apply line-height to correct ID X-Git-Tag: 1.31.0-rc.0~16297^2 X-Git-Url: https://git.cyclocoop.org//%22?a=commitdiff_plain;h=082196e080de792a59dc11895cf01835f23722e9;p=lhc%2Fweb%2Fwiklou.git Typography Refresh - Apply line-height to correct ID The 1.6 line-height (@content-line-height set in variables.less) in the Typography Refresh has been applied to div#content, which is in turn overridden by the 1.5em line-height of #bodyContent (set in common.less). Fix: Remove line-height rule for div#content and set line-height for #bodyContent to @content-line-height. Bug: 63731 Change-Id: I16e6d6cea6f283bf79a6bf29c19b9700dda222f8 --- diff --git a/skins/vector/components/common.less b/skins/vector/components/common.less index 9b8c41a2f8..25ba301f1e 100644 --- a/skins/vector/components/common.less +++ b/skins/vector/components/common.less @@ -28,7 +28,6 @@ body { /* Content */ div#content { - line-height: @content-line-height; margin-left: 10em; padding: @content-padding; /* Border on top, left, and bottom side */ @@ -131,7 +130,7 @@ pre, .mw-code { #bodyContent { position: relative; width: 100%; - line-height: 1.5em; + line-height: @content-line-height; font-size: @content-font-size; }