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 272395 51177c126be94e8593a86b834dcd7ac58e88a2c4
parent 272394 80fc4351eba389442a868ce3a3d6d45517695d04
child 272396 ef5ee7bfb74dfbff7d13729cea30aa36ea287dd1
push id4830
push userjlund@mozilla.com
push dateMon, 29 Jun 2015 20:18:48 +0000
treeherdermozilla-beta@4c2175bb0420 [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;
 }