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 266857 bfd5c1d7c8474d9e09deb0c08abe224515bc65e2
parent 266856 a5489efc1204ed1e251b99e8299b6b57887b98c8
child 266858 7a07477574926045dfe793b920b36b43b9ceb8d9
push id830
push userraliiev@mozilla.com
push dateFri, 19 Jun 2015 19:24:37 +0000
treeherdermozilla-release@932614382a68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws, sledru
bugs1132656
milestone39.0a2
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;