16

I just noticed that when a question's title is long enough that it would normally wrap around, it does so a tad late. If the title has a word in the right place, it gets cut off by the background(?!?) of the page.

enter image description here

  • It wraps, but there's a very specific length where it doesn't.. – 3ventic Apr 17 '14 at 22:14
  • 2
    It's because you didn't use enough exclamation marks in your question. – jonsca Apr 17 '14 at 23:27
  • here is another example. – Taryn Apr 18 '14 at 19:33
  • 1
    Looks like this has been fixed. – Ilmari Karonen Jun 12 '14 at 19:35
  • 1
    @IlmariKaronen yeah, Jin silently fixed some design bugs a week ago. Some quick update or even just proper tag would have been nice, no idea why he doesn't do neither of those. – Shadow Wizard Jun 12 '14 at 19:53
  • 1
    -1 improper title. "Haalp!" --> "EEEEEK!" – Adam Davis Jun 12 '14 at 22:36
10

Looks like someone messed up on the padding for the #question-header rule. It is currently set to padding: 20px, which puts 20px of padding on all four sides. Anyone who knows CSS also knows that by default the padding is not included in the width of the box, so the actual width of the box ends up being 40px wider than the page itself, causing 40px of space to the right side (20px of which would always be empty, or the right padding) that will always be cut off if text is present in that area, due to display properties on the ancestor elements.

I'm not exactly sure why they need padding on the left and right sides, and it looks rather silly with that padding there. It seems like that's where the actual mistake is. I think it's supposed to be padding: 20px 0 which would add padding to the top and bottom, but not the sides.

  • 3
    There's just too much padding. Everywhere. – michaelb958 Apr 18 '14 at 10:55
  • Alternatively, setting width: auto on the header would at least make it adapt to the available space, properly excluding the padding. – Ilmari Karonen May 20 '14 at 22:09
1

This has been fixed like a year and a half ago (June 2014).

  • +1 what's the future like? (is an example of a comment that will not age well) – Pops Dec 18 '15 at 4:53
  • @Pops Were you trying to subtly imply that I should include a date? – The Guy with The Hat Dec 18 '15 at 4:56
  • No, I thought there was a decent chance you would earn the Living in the Future hat for this post. – Pops Dec 18 '15 at 5:26
  • @Pops Ah, right. That was actually the motivation for posting this answer (though it is nice to be able to accept an answer on this question). – The Guy with The Hat Dec 18 '15 at 5:28

You must log in to answer this question.

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