Typography Refresh - Apply line-height to correct ID
authorErwin Dokter <erwin@darcoury.nl>
Wed, 9 Apr 2014 15:33:12 +0000 (15:33 +0000)
committerJdlrobson <jrobson@wikimedia.org>
Thu, 10 Apr 2014 00:16:43 +0000 (00:16 +0000)
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

index 9b8c41a..25ba301 100644 (file)
@@ -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;
 }