If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Space/text display issues of the new download buttons (el locale)

VERIFIED FIXED

Status

www.mozilla.org
Pages & Content
P3
normal
VERIFIED FIXED
5 years ago
4 years ago

People

(Reporter: George Fiotakis, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

5 years ago
As usually, Greek text needs more space.
So far we have a problem only with the small "firefox beta for android" button.
As a workaround, I translated the string "Get it free on Google Play" as "Free on Google Play" since it still makes perfectly good sense in Greek and added a <br/> to break it in two lines.

Filling this bug since I'm not sure if the <br/> breaks something or if the workaround is also working for Firefox Aurora buttons

Updated

4 years ago
Component: L10N → Pages & Content
added to mozilla.org kanban board
Priority: -- → P3

Updated

4 years ago
Blocks: 813052
I wondered if a non-breaking space to keep "Google&nbsp;Play" together might be a better option that embedding HTML in the string?

Alternately, we could adjust the margin-right values in the CSS for Greek-only.
As a note - we currently have a CSS rule to fix this same issue (i think) for dutch visitors, so it might just be a case of adding 'el' to this existing selector.

https://github.com/mozilla/bedrock/blob/master/media/css/sandstone/buttons.less#L580
PR opened here:

https://github.com/mozilla/bedrock/pull/1087

This should remove the need for using the <br /> breaks, as the width of the text container is adjusted so it no longer overlaps the Firefox Beta text.

Comment 5

4 years ago
Commits pushed to master at https://github.com/mozilla/bedrock

https://github.com/mozilla/bedrock/commit/a429611e3e73c4b8c1154714f75ec3888266d78b
Bug 855043 text display issues download buttons (el locale)

https://github.com/mozilla/bedrock/commit/41559624a9c9fb086c3d3356b60f5c3193686b41
Merge pull request #1087 from alexgibson/bug-855043-text-display-issues-download-buttons-el

Bug 855043 text display issues download buttons (el locale)
fixed on stage 
https://www.allizom.org/el/styleguide/websites/sandstone/buttons/
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
https://www.mozilla.org/el/styleguide/websites/sandstone/buttons/
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.