Follow-up to typography changes to Vector
authorkaldari <rkaldari@wikimedia.org>
Thu, 27 Mar 2014 18:12:54 +0000 (11:12 -0700)
committerKaldari <rkaldari@wikimedia.org>
Thu, 27 Mar 2014 22:06:15 +0000 (22:06 +0000)
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

RELEASE-NOTES-1.23
skins/vector/components/common.less

index 9633edd..0ef76fe 100644 (file)
@@ -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
index 7927a9e..f5b2b1c 100644 (file)
@@ -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;
        }
 }