diff --git a/browser/themes/shared/incontentprefs/preferences.inc.css b/browser/themes/shared/incontentprefs/preferences.inc.css index 8f117997f0c2..f1592b2eaa20 100644 --- a/browser/themes/shared/incontentprefs/preferences.inc.css +++ b/browser/themes/shared/incontentprefs/preferences.inc.css @@ -95,11 +95,11 @@ caption > label { /** * The first subcategory title for each category should not have margin-top. */ -#generalCategory, -#searchCategory, -#browserPrivacyCategory, -#firefoxAccountCategory { - margin-top: 0; + +.subcategory:not([hidden]) ~ .subcategory { + margin-top: 32px; + padding-top: 15px; + border-top: 1px solid rgba(12, 12, 13, 0.15); } .header-name { @@ -107,10 +107,6 @@ caption > label { font-weight: 300; } -.subcategory { - margin-top: 48px; -} - /* Category List */ #categories {