Bug 871524 - Fine tune Reader Mode margins for tablet landscape mode. r=mleibovic
authorMarcos A. Di Pietro <marcosadp@gmail.com>
Fri, 07 Jun 2013 08:40:18 -0400
changeset 145864 c9ae1381518aba16f28809f08e2c06e5ad70e439
parent 145863 6fee06d61d20fbaa473ecf4218f29b0a861bfcde
child 145865 105a243547d3f596f826ef89feec3a4c56b1cec9
push id2697
push userbbajaj@mozilla.com
push dateMon, 05 Aug 2013 18:49:53 +0000
treeherdermozilla-beta@dfec938c7b63 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmleibovic
bugs871524
milestone24.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 871524 - Fine tune Reader Mode margins for tablet landscape mode. r=mleibovic
mobile/android/themes/core/aboutReader.css
--- a/mobile/android/themes/core/aboutReader.css
+++ b/mobile/android/themes/core/aboutReader.css
@@ -2,20 +2,22 @@
  * 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/. */
 
 html {
   -moz-text-size-adjust: none;
 }
 
 body {
-  margin-top: 20px;
-  margin-bottom: 20px;
+  padding: 20px;
   transition-property: background-color, color;
   transition-duration: 0.4s;
+  max-width: 35em;
+  margin-left: auto;
+  margin-right: auto;
 }
 
 .light {
   background-color: #ffffff;
   color: #222222;
 }
 
 .dark {