4

The text on the site switcher for GIS (Geographic Information Systems) is wrapping to the next line when on that site:
enter image description here

It does display correctly when on the meta site, however, so the bolded font is probably just barely pushing it to wrap:
enter image description here

3
  • because when it's weight changed to bold, the container can't accommodate the text Commented Oct 12, 2017 at 12:29
  • @redhand Indeed, that's why I pointed out that it doesn't wrap when on meta Commented Oct 12, 2017 at 12:41
  • As I pointed in the answer, it is because the first row have to accommodate 3 more links but in meta, it have to accommodate only 1 text Commented Oct 12, 2017 at 12:45

1 Answer 1

1

There are few whitespaces before the name. So it splits to next line because the container can't accommodate it completely.

enter image description here

All the spaces have the effect of one single space. Which means one single space will make it to next line. Because it is on the border.

enter image description here

Removing the whitespaces will arrange it in one line

enter image description here

If the devs trim the site name, then it will be aligned perfectly.

This will reduce the distance between the icon and text but it is better than changing the size of container and also better than the 2 line ugly look.

For meta, it is different. Meta got a lot of space but for the main site, it have to accommodate the site name, help, chat and log out button.

1
  • 5
    Even without the whitespace, this would still be an issue with long site names such as Software Quality Assurance & Testing. We will probably end up using css with overflow: ellipsis;
    – Oded StaffMod
    Commented Oct 13, 2017 at 13:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .