Bug 1428994 - Set dividers' margin-top as 16px to make its above and below space be equal and match visual spec. draft
authorEvan Tseng <evan@tseng.io>
Wed, 10 Jan 2018 16:30:49 +0800
changeset 718927 89a267c4795be04e98e906a85c054b8c5b3a67ef
parent 718845 4db166f0442dddc5b9011c722d7499501fedf283
child 745638 e51376cc9924dd088a57b6b28d936b3910f92721
push id95089
push userbmo:evan@tseng.io
push dateThu, 11 Jan 2018 03:54:37 +0000
bugs1428994
milestone59.0a1
Bug 1428994 - Set dividers' margin-top as 16px to make its above and below space be equal and match visual spec. MozReview-Commit-ID: 6C66GNHfHdQ
browser/themes/shared/incontentprefs/preferences.inc.css
--- a/browser/themes/shared/incontentprefs/preferences.inc.css
+++ b/browser/themes/shared/incontentprefs/preferences.inc.css
@@ -126,18 +126,18 @@ button > hbox > label {
 
 /* Subcategory title */
 
 /**
  * The first subcategory title for each category should not have margin-top.
  */
 
 .subcategory:not([hidden]) ~ .subcategory {
-  margin-top: 32px;
-  padding-top: 15px;
+  margin-top: 16px;
+  padding-top: 16px;
   border-top: 1px solid rgba(12, 12, 13, 0.15);
 }
 
 /* Category List */
 
 #categories > scrollbox {
   overflow: visible !important; /* Cancel scrollbar and do not clip overflow content when window size goes very small */
 }