Closed ooade closed 5 years ago
Initial Phase (Feels normal):
With Content (Horizontal overflow mess):
Why that happens is viewport width includes the scrollbar so it tends to overflow as the scroll bar (strange visitor) shows up on the page.
viewport width
The fix: Add max-width of 100%, or do without the width specified.
max-width
Sure, you can go ahead if you'd like. Nothing uglier than a horizontal scrollbar (except Vim).
Initial Phase (Feels normal):
With Content (Horizontal overflow mess):
Why that happens is
viewport width
includes the scrollbar so it tends to overflow as the scroll bar (strange visitor) shows up on the page.The fix: Add
max-width
of 100%, or do without the width specified.