Bug 1158289 - Use ems to keep the Reader View's line length between 45 and 75 characters. ui-r=mmaslaney, r=margaret
authorBlake Winton <bwinton@latte.ca>
Tue, 28 Apr 2015 15:48:43 -0400
changeset 273920 51177c126be94e8593a86b834dcd7ac58e88a2c4
parent 273919 80fc4351eba389442a868ce3a3d6d45517695d04
child 273921 ef5ee7bfb74dfbff7d13729cea30aa36ea287dd1
push id863
push userraliiev@mozilla.com
push dateMon, 03 Aug 2015 13:22:43 +0000
treeherdermozilla-release@f6321b14228d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmmaslaney, margaret
bugs1158289
milestone40.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1158289 - Use ems to keep the Reader View's line length between 45 and 75 characters. ui-r=mmaslaney, r=margaret
toolkit/themes/shared/aboutReader.css
--- a/toolkit/themes/shared/aboutReader.css
+++ b/toolkit/themes/shared/aboutReader.css
@@ -1,16 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 body {
   padding: 64px 0;
-  max-width: 660px;
-  margin: 0 auto;
 }
 
 @media (max-width: 785px) {
   body {
     padding-top: 64px;
     -moz-padding-end: 0;
     padding-bottom: 64px;
     -moz-padding-start: 51px;
@@ -49,16 +47,21 @@ body.sans-serif .remove-button {
   font-family: Helvetica, Arial, sans-serif;
 }
 
 body.serif,
 body.serif .remove-button  {
   font-family: Georgia, "Times New Roman", serif;
 }
 
+#container {
+  max-width: 30em;
+  margin: 0 auto;
+}
+
 #container.font-size1 {
   font-size: 12px;
 }
 
 #container.font-size2 {
   font-size: 14px;
 }