From 082196e080de792a59dc11895cf01835f23722e9 Mon Sep 17 00:00:00 2001 From: Erwin Dokter Date: Wed, 9 Apr 2014 15:33:12 +0000 Subject: [PATCH] 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 --- skins/vector/components/common.less | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } -- 2.20.1