4 ms·
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 betwee
by butterflyofsin 4y ago
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.
- just-tom 4y agoLearned 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).
- deleted 4y ago[deleted]
- butterflyofsin 4y agoIt 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)