Bug 1158289 - Use ems to keep the Reader View's line length between 45 and 75 characters. ui-r=mmaslaney, r=margaret, a=lmandel
authorBlake Winton <bwinton@latte.ca>
Tue, 28 Apr 2015 15:48:43 -0400
changeset 260477 5fff1e20ed9c
parent 260476 4aac185d033d
child 260478 5da39cd23ade
push id795
push userryanvm@gmail.com
push date2015-05-13 21:24 +0000
treeherdermozilla-release@5fff1e20ed9c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmmaslaney, margaret, lmandel
bugs1158289
milestone38.0.5
Bug 1158289 - Use ems to keep the Reader View's line length between 45 and 75 characters. ui-r=mmaslaney, r=margaret, a=lmandel
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;
 }