Remove redundant line-height declarations from elements.css
authorErwin Dokter <erwin@darcoury.nl>
Wed, 29 Apr 2015 12:12:53 +0000 (12:12 +0000)
committerOri.livneh <ori@wikimedia.org>
Fri, 15 May 2015 09:13:02 +0000 (09:13 +0000)
commit531ed153f31b73c3e0a18209519bffd401e66157
treefec637c6c69c647fb19de4fc980dc7eec819b767
parent806c0cb85c8efa62a2000b936a84cfe0b5759ba3
Remove redundant line-height declarations from elements.css

Elements.css declares line-height of 1.5em for certain common
elements, like ol, ul and dd. These are redundant as each skin already
declares the same line-height for the content, and all elements inherit
this line-height from the body.

At the same time, these declaration override the content line-height of
1.6em set in Vector, creating inconsistencies that cannot be 'hacked'
away. Removing these line-height declarations has no impact, other
then making the typography refresh actually work as intended.

Bug: T66653
Change-Id: I5b682a9527294e96f3999773724cbf8fb9631197
resources/src/mediawiki.skinning/elements.css