From: kaldari Date: Thu, 27 Mar 2014 18:12:54 +0000 (-0700) Subject: Follow-up to typography changes to Vector X-Git-Tag: 1.31.0-rc.0~16455^2 X-Git-Url: http://git.cyclocoop.org/wiki/Target_page?a=commitdiff_plain;h=e59e63e1838c0c5a6ca07f9bd36d799603f7a590;p=lhc%2Fweb%2Fwiklou.git Follow-up to typography changes to Vector Getting rid of pre rule per discussion. Changing line-height: 0 for sup tags to line-height: 1 per suggestion at https://gerrit.wikimedia.org/r/#/c/120978/ and also adding sub. Also update release notes. Bug: 49965 Change-Id: Ic9dc071d1868b16a46eef1d7c41dc6abe12fa7b7 --- diff --git a/RELEASE-NOTES-1.23 b/RELEASE-NOTES-1.23 index 9633edd49b..0ef76feb1d 100644 --- a/RELEASE-NOTES-1.23 +++ b/RELEASE-NOTES-1.23 @@ -131,6 +131,8 @@ production. * Added BaseTemplateAfterPortlet hook to allow injecting html after portlets in skins. * Support has been added for a JSON based localisation file format. The installer has been updated to use it. +* Changes to content typography (fonts, line-height, etc.). See + https://www.mediawiki.org/wiki/Typography_refresh for further information. === Bug fixes in 1.23 === * (bug 41759) The "updated since last visit" markers (on history pages, recent diff --git a/skins/vector/components/common.less b/skins/vector/components/common.less index 7927a9ee6d..f5b2b1c9f6 100644 --- a/skins/vector/components/common.less +++ b/skins/vector/components/common.less @@ -100,14 +100,10 @@ div#content { font-family: @content-font-family; } - // Give extra long preformatted content horizontal scroll bars - pre { - overflow-x: auto; - } - - // Prevent citations from interfering with the line-height - sup { - line-height: 0; + // Prevent citations and subscripts from interfering with the line-height + sup, + sub { + line-height: 1; } }