if you want to try the overflow function, try the overflow-x instead of overflow-y
On the other hand, you could have a look at word-break to see if you can break it.
Maybe even combining it with Max width ch to set a maximum amount of visibile characters on a line. I have added a link to some more info: Link
max-width: 30ch;