How would you make it better UX-wise? I can't imagine it being much better. It just gets out of your way.
I think HN is peak design. Everything is condensed, there's no wasted space, it's like a good old website from a bygone era. It's just a bit annoying on mobile, but that's it.