Avoiding the 'overflow side bump' in Personal Portfolio Page

Avoiding the 'overflow side bump' in Personal Portfolio Page
0

#1

Still working on this, but on my personal portfolio page when you hit either the ‘Resume’ or ‘Contact’ key it bumps the content over because now you have to deal with the overflow of a potential scroll bar.

Outside of fixing positioning for everything wondering if there is some trick around this (i.e. a margin or padding which takes the scroll bar into account).


#2

Hi there,

I’m thinking you’d probably prefer a solution that hid the scroll bar when the page first loads, but if you didn’t mind it being there from the get-go (perhaps as an interim fix, at least),then one suggestion could be to use:

html { overflow-y: scroll; }

Denis