Bug 1132656 - Reader mode toolbar overlaps content if window becomes too narrow. r=jaws, a=sledru
authorAbhinav Koppula <abhinav.koppula@gmail.com>
Tue, 31 Mar 2015 14:32:00 -0400
changeset 258276 b8343ae0a9dc
parent 258275 7b6bd63b68e5
child 258277 30be2924717b
push id4633
push userryanvm@gmail.com
push date2015-04-06 15:44 +0000
treeherdermozilla-beta@e749a39aaf5c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws, sledru
bugs1132656
milestone38.0
Bug 1132656 - Reader mode toolbar overlaps content if window becomes too narrow. r=jaws, a=sledru
toolkit/themes/windows/global/aboutReader.css
--- a/toolkit/themes/windows/global/aboutReader.css
+++ b/toolkit/themes/windows/global/aboutReader.css
@@ -3,16 +3,25 @@
  * 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;
+  }
+}
+
 body.loaded {
   transition: color 0.4s, background-color 0.4s;
 }
 
 .light,
 .light-button {
   color: #333333;
   background-color: #ffffff;