Closed Bug 677399 Opened 14 years ago Closed 14 years ago

Navigation menu is too narrow for locales

Categories

(Websites :: webifyme.org, defect, P2)

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: williamr, Assigned: brez)

References

()

Details

Attachments

(1 file)

Attached image screenshot
The navigation menu at the top of the page isn't wide enough to show the menu on one line when viewed in other locales. Please increase the width so the menu can be shown on one line. Example: https://webifyme-dev.allizom.org/fr/
This can easily be fixed by changing the CSS #header .nav from 455px to 550px and adding a margin-right: 180px. Not perfect, but better then what exists now with the wrapping of navigation elements that are longer then en-US. Other ideas are welcome too.
Severity: normal → major
Hi, I've changed the width to 716px, and left the margin at auto. This aligns the left side of the text with the beginning of the Firefox logo. I felt 716px would be enough for nearly any language. I think it looks OK, but then again, I'm no designer. Centering the text for all languages would require a little "domready" javascript (due to the variable width), which is another option to explore if this doesn't feel right. https://github.com/mozilla/webifyme/commit/2ddebaa3c314cc8ad790277756b118e317f3a543 Let me know on this one.
Stewart: I would add margin-left: 150px and it should be fine. That will push it over closer to the middle since we don't want to use the center attribute.
Stewart: The top menu looks good. Can you do the same with the bottom menu? #footer.main_links width=600px #footer.legal width=300px It should make those menus width enough for other languages.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: