Ask HN: Is the header CSS broken for you?

I'm noticing that the HN header clips quite close to the rest of the content on my phone as of today. Is anyone else noticing this or is it a bug on my end?

Edit to add: the delete comment page has the header moved to the footer.

45 points

LorenDB

14 days ago


13 comments

tomhow 14 days ago

Sorry about this! We've been getting emails about it, so yes, we're aware of it. Dang will attend to it when he's next available.

  • LorenDB 13 days ago

    It appears to be fixed now. Thanks for taking care of this!

Averave 14 days ago

I compared an archived copy of the comments page to the version today and noticed the HTML changed:

Old:

  <tr>[...header...]</tr>
  <tr id="pagespace" title="Y Combinator" style="height:10px"></tr>
  <tr>[...comments...]</tr>
New:

  <tr>[...header...]</tr>
  <tr><td style="height:10px"></td></tr>
  <tr>[...comments...]</tr>
If you use Inspect Element to revert the change, it'll look as expected. You can test by resizing the browser window to mobile size, or by using your browser's mobile simulator.

For some reason, this new method of adding space only works on desktop, while the old one worked on mobile as well.

masklinn 14 days ago

On my phone the main links are now on 3 rows, used to be 2, and the profile / logout section is now on a single line (used to also be two).

On the one hand it makes hitting new/threads/… more awkward and wastes a fair amount of space.

On the other hand it makes hitting logout when trying to go to one’s profile much less likely.

ajjenkins 14 days ago

Yes, it looks broken to me. The top article is too close to the header. I’m on iOS Safari.

leakycap 14 days ago

Interesting to see the little nips & tucks on a site that at first glance people say hasn't changed in decades (which I appreciate)

  • OccamsMirror 14 days ago

    Cynically I think this change looks like an artifact of it being run through an LLM.

    • leakycap 14 days ago

      I appreciate your perspective, and it’s interesting to see how different interpretations can shape our view of these changes. Sometimes, even what seems like a small detail can carry a lot of meaning, and I’m glad you’re engaging thoughtfully with it. It’s always valuable to have diverse perspectives and to explore different angles! (is what my LLM said I should respond)

LordShredda 14 days ago

I really thought it was my firefox beta got updated and i was seeing a layout bug.

codingclaws 13 days ago

Yes, I thought the padding/margin below the header was reduced.

RandomBacon 14 days ago

I noticed it on Firefox for Android.

kurrupttt 14 days ago

nope. just tested working fine for me.