Horizontal scrolling
I want the 1000px container to have horizontal scrolling when going below 1000px.
The 800px container requires to have a fixed width, that's why.
Is there any way to achieve this?
Documentation I could be point out to?
6 Replies
How about
overflow: auto
?
The parent won't show the scroll unless the content is actually overflowing
More precisely: overflow-x: auto
if you want horizontal scrolling onlyYeah, I think I've figured half the problem.
The text is breaking, that's what causing it to not overflow.
I was trying to make the text's div to have a fixed width as well.
What could be causing this? 🤔
So, I'm understanding here that, since the left side has fixed width, it gets "eaten" somehow.
So I guess the next solution is to somewhat make it push to the right?
OK NVM I FIGURED IT OUT.
Because it was being justified to the center, it ate part of the div.
That's a weird behavior.
I just threw this in:
Looks quite gross, so if anybody else has a better solution, or less gross, is also welcomed.