Onboarding button label not wrapping
Categories
(Firefox :: Messaging System, defect, P1)
Tracking
()
People
(Reporter: theo, Assigned: Mardak)
References
Details
(Keywords: github-merged)
Attachments
(2 files)
This label (onboarding-send-tabs-button) doesn’t fit in French, and it looks like it may just be wrapping in two lines instead
Comment 1•5 years ago
|
||
@mardak
Can we make sure this is evaluated in time for uplifts?
Assignee | ||
Comment 2•5 years ago
•
|
||
What should the behavior be for long button text? I believe aaron (PTO) said buttons stay on one line, so we tried to make sure it expanded wide for longer text, but looks like that's not enough.
Assignee | ||
Comment 3•5 years ago
|
||
Looks like at minimum we'll need white-space: pre-wrap
to allow multiline fluent strings. Then we'll need to fix up spacing min-height/margin/padding on the button. The button seems to be absolutely positions on the bottom so probably some adjustments needed there too.
Assignee | ||
Updated•5 years ago
|
Comment 4•5 years ago
|
||
Assignee | ||
Comment 5•5 years ago
|
||
Just to note here if someone else runs into this when localizing:
Instead of doing:
onboarding-send-tabs-button = Commencer à utiliser « Envoyer l’onglet »
Do this instead:
onboarding-send-tabs-button =
Commencer à utiliser
« Envoyer l’onglet »
Bug 1551951 added a localization note noting that buttons can have explicit new lines
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 6•5 years ago
|
||
Comment 7•5 years ago
|
||
I have verified that this issue is no longer reproducible with the latest Firefox Nightly FR locale (68.0a1 Build ID - 20190520095418) installed, on Windows 10 x64, Arch Linux and Mac 10.13.3. Now, the labels are not exceeding the cards.
Assignee | ||
Comment 8•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Description
•