Closed Bug 430757 Opened 16 years ago Closed 15 years ago

download box dimension is set to English text

Categories

(www.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: pascalc, Assigned: sgarrity)

References

Details

Attachments

(3 files)

The download box was designed to display the number of letters there is in "Get Firefox 3" and "Download now - Free", text gets outside of the green box and on top of the logo for all locales that use more letters.

The design should be flexible with a green box expanding horizontally and/or vertically and text that doesn't overflow the logo but flows around.s
I know this situation was considered during the design process, and the button should have been built with this in mind. Steven, can you investigate?
Assignee: nobody → steven
Fixed in r12543.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
reopening, green box is displayed incorrectly after the patch
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Pascal - a change to the Javascript/HTML that outputs the buttons per local is needed. See r12543. Should I do this to the other locales, or will you?
ok, I will do it when all locales are ready.
This is the current state (at least on pt-BR). Is this the correct behaviour?

On security page it doesn't happen, since the risk graph increases the sidebar width.
(In reply to comment #7)
> This is the current state (at least on pt-BR). Is this the correct behaviour?

This box is intended to allow the title text to wrap. However, in this case, it's unfortunate that it's only the "3" bumped on to the next line. If we were to prevent the "Firefox 3" words from breaking, we'd end up with:

Obtenir
Firefox 3

rather than:

Obtenir Firefox
3

We could do that with a non-breaking space. To do it with CSS would require a SPAN around the "Firefox 3" text. Pascal, thoughts?
Fernando, in your main.lang file, put a non breaking space between Firefox and 3:

;Get Firefox 3
Obter Firefox 3
This happens with /ru/, too.
I've made a CSS change that should fix (r14531) that should fix /ru. Pascal, can you take a look? This change fixes the width of the sidebar download box in all pages (some had been wider than others).

Some locales might still benefit from the nbsp treatment.
This seems ok -- Pascal, could you reopen if this is still an issue?
Status: REOPENED → RESOLVED
Closed: 16 years ago15 years ago
Resolution: --- → WORKSFORME
Component: www.mozilla.org/firefox → www.mozilla.org
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: