Closed Bug 1755008 Opened 2 years ago Closed 2 years ago

The buttons from the Add New Address modal are not centered on the DE locale

Categories

(Toolkit :: Form Autofill, defect, P3)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
100 Branch
Tracking Status
firefox97 --- disabled
firefox98 --- disabled
firefox99 --- disabled
firefox100 --- verified

People

(Reporter: sbadau, Assigned: gliu10000)

References

Details

(Keywords: good-first-bug)

Attachments

(2 files)

Affected Versions:

Nightly 99.a1, Beta 98 and Release 97

Tested on:

MacOS 11

Preconditions:

browser.search.region DE
extensions.formautofill.addresses.enabled - true
extensions.formautofill.addresses.supported to "detect"
extensions.formautofill.addresses.supportedCountries US,CA,DE

download and install the latest Firefox Nightly DE locale

Steps to reproduce:

  1. Go to about:preferences#privacy
  2. In the Forms and Autofill section, click the Saved Addresses button.
  3. In the Saved Addresses modal, click on the Add button.
  4. Observe the Cancel (Abbrechen) and Save (Enregistrer) buttons.

Expected Results:

All the buttons are properly displayed.

Actual Results:

The Cancel (Abbrechen) and Save (Enregistrer) buttons are not centered.

Component: Preferences → Form Autofill
Product: Firefox → Toolkit
Keywords: good-first-bug
Priority: -- → P3
See Also: → 1754999

Hi I'm new to contributing to Firefox and I'd like to take this issue. It seems like the cause of this issue is the same as https://bugzilla.mozilla.org/show_bug.cgi?id=1754999. I can confirm that the root cause of this issue is caused by the #country-warning-message forcing buttons with a sufficiently large size to be cut off. Allowing #country-warning-message to dynamically resize fixes this.

I already see that the css for this is in editAddress.css and if no one else plans to take this issue, I'll get started with Phabricator and submit a patch.

Fixes the Add New Address modal buttons getting clipped in certain locales.

Assignee: nobody → gliu10000
Status: NEW → ASSIGNED
Pushed by tgiles@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c6c17b233f15
Fix cut off buttons styling from Add New Address modal. r=tgiles
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
See Also: 1754999
Flags: qe-verify+

Reproduced the issue with Fx 99.0a1 (2022-02-11) on Windows 10x64.
Verified as fixed with Fx 101.0a1 and Fx 100.0b Windows 10x64, Ubuntu 18.4 and macOS 10.12.6 de and fr locales.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: