Skip to content

Comment on Subreply

Comments

the navigation might benifit from the css scrollbar-gutter: stable. it's kind of distracting how the content jumps a bit left and right when you navigate between for example about and news, because the scrollbar appears.

Learned a new thing, thanks. What about overflow: overlay? It can also solve the problem by being on top of layout and not part of it. Browsers still support it, although it is deprecated (never understood why).

It could. Right now, they've got about the same amount of support, so it wouldn't even matter much. (Though the caniuse stat is kind of misleading, since you wouldn't see the scrollbar on mobile anyways, and a large part of the non-support is coming from Safari on iOs)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.