Bug 1267499 - Fix Private Browsing start-page overflows off the window bottom. r=Gijs, a=lizzard
authorRicky Chien <ricky060709@gmail.com>
Tue, 17 May 2016 17:18:34 +0100
changeset 333017 f887875e60c8738740089de8e85d6b68475de96e
parent 333016 12f53b845cb9843dbcfa4431d3aa2d12a824c878
child 333018 349688fd0b53507dad2b2e7d358c8d2e9744b557
push id6048
push userkmoir@mozilla.com
push dateMon, 06 Jun 2016 19:02:08 +0000
treeherdermozilla-beta@46d72a56c57d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs, lizzard
bugs1267499
milestone48.0a2
Bug 1267499 - Fix Private Browsing start-page overflows off the window bottom. r=Gijs, a=lizzard MozReview-Commit-ID: F9Do3T8d7R3
browser/themes/shared/privatebrowsing/aboutPrivateBrowsing.css
--- a/browser/themes/shared/privatebrowsing/aboutPrivateBrowsing.css
+++ b/browser/themes/shared/privatebrowsing/aboutPrivateBrowsing.css
@@ -10,20 +10,16 @@
 
   --color-blue: #0996f8;
   --color-blue-dark: #0670cc;
   --color-blue-darker: #005bab;
 
   --icon-margin: 64px;
 }
 
-html {
-  font-size: 1.5em;
-}
-
 html.private {
   --in-content-page-color: #beb8cc;
   --in-content-text-color: #beb8cc;
   --in-content-page-background: #1c023c;
 }
 
 body {
   padding: 40px;
@@ -46,22 +42,26 @@ a:hover:active {
 a:visited {
   color: var(--color-blue-darker);
 }
 
 .about-content-container {
   max-width: 780px;
 }
 
-section.section-main {
+.section-main {
   margin-bottom: 48px;
   -moz-margin-start: var(--icon-margin);
   -moz-padding-start: 24px;
 }
 
+.section-main:last-child {
+  margin-bottom: 0;
+}
+
 p {
   line-height: 1.5em;
 }
 
 .list-row {
   overflow: auto;
 }