0

[SOLVED] How to make this text just scrolling to right or left not top or bottom

I didn't specify overflow-y: scroll; but why this text overflow to top and bottom? https://code.sololearn.com/Wzlz34Lu6pAz/?ref=app

6th Jan 2022, 10:20 AM
EsaKurniawan
8 Respostas
0
It is scrollable to all sides by default, but you never specified that it is unscrollable in y axis. Therefore to fix it write "overflow-y: hidden;".
6th Jan 2022, 10:37 AM
cadbrooke
cadbrooke - avatar
0
No overflow-y hidden doesn't fix the problem because number will not seen
6th Jan 2022, 10:42 AM
EsaKurniawan
0
I'm confused what's your intentions here?
6th Jan 2022, 10:45 AM
cadbrooke
cadbrooke - avatar
0
I mean look at the text in code above there are number exist in a box text and if i use overflow-y hidden that number will disappear
6th Jan 2022, 11:12 AM
EsaKurniawan
0
I can not do that either. it's gonna mess up the design
6th Jan 2022, 11:22 AM
EsaKurniawan
0
I just want text inside that box overflow to right and the word doesn't break to bottom.
6th Jan 2022, 11:23 AM
EsaKurniawan
0
Problem is already solved
6th Jan 2022, 11:37 AM
EsaKurniawan