Closed Bug 855043 Opened 11 years ago Closed 11 years ago

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

Categories

(www.mozilla.org :: Pages & Content, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: fiotakis, Unassigned)

References

(Blocks 1 open bug, )

Details

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
Component: L10N → Pages & Content
added to mozilla.org kanban board
Priority: -- → P3
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.
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
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.