Skip to content

[M24] Language picker doesn't stretch to fit content #15609

Closed
@janbrasna

Description

@janbrasna

Description

Current language (besides en-US, ar, and a few more) mostly doesn't fit inside the locale selector in [m24] footer.

Steps to reproduce

(M24:) Change language from English to anything else, i.e. "English (Canadian)" or almost any other locale, and observe the component now.

Expected result

The chosen locale should fit within the selector.

Actual result

Locale is cropped (WebKit):

Screenshot 2024-11-28 at 22 40 06 Screenshot 2024-11-28 at 22 40 19 Screenshot 2024-11-28 at 22 40 56 Screenshot 2024-11-28 at 22 41 45

Or in case of Gecko the ellipsis eats up even more space (Aurora):

Screenshot 2024-11-29 at 22 12 38

Originally posted by @stephaniehobson in #15620 (comment):

Most languages should display without being cut off.

Possible solutions:

  • make it expand to match the width of the selected language
  • make it the same width as our current language selector

Metadata

Metadata

Assignees

Labels

Bug 🐛Something's not working the way it shouldRefresh 🦖Work related to the 2024 site refresh

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions