tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 651b28b2664493b0a83d1f5a1ed7da83f2236271
parent a52177c154e14d3f97fb423f3b457de4d4365df5
Author: Benjamin VanderSloot <bvandersloot@mozilla.com>
Date:   Tue, 18 Nov 2025 16:21:51 +0000

Bug 1999679 - Fix autofill preferences heading CSS - r=mstriemer,desktop-theme-reviewers

This got regressed while polishing up some headings in Bug 1992624.
I don't love the current spacing, but this restores the state before
the regressor.

Differential Revision: https://phabricator.services.mozilla.com/D272801

Diffstat:
Mbrowser/components/preferences/privacy.inc.xhtml | 4++--
Mbrowser/themes/shared/preferences/preferences.css | 4++++
2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/browser/components/preferences/privacy.inc.xhtml b/browser/components/preferences/privacy.inc.xhtml @@ -560,9 +560,9 @@ <groupbox id="formAutofillGroupBox" data-category="panePrivacy" data-subcategory="form-autofill" hidden="true"> - <label><html:h2 data-l10n-id="autofill-payment-methods-title" class="section-heading"/></label> + <label><html:h2 data-l10n-id="autofill-payment-methods-title" class="subsection-heading"/></label> <html:setting-group data-subcategory="credit-card-autofill" groupid="payments"/> - <label><html:h2 data-l10n-id="autofill-addresses-title" class="section-heading"/></label> + <label><html:h2 data-l10n-id="autofill-addresses-title" class="subsection-heading"/></label> <html:setting-group data-subcategory="address-autofill" groupid="addresses"/> </groupbox> diff --git a/browser/themes/shared/preferences/preferences.css b/browser/themes/shared/preferences/preferences.css @@ -1473,6 +1473,10 @@ setting-group[groupid="home"] { margin: 0 0 var(--space-small); } +.subsection-heading { + margin-bottom: var(--space-small); +} + .section-header-last { margin: 0 0 var(--space-large); }