#Blank spaces (CSS)

1 messages · Page 1 of 1 (latest)

loud pebble
#

Hey,
Anyone knows if there is a way to fix this using CSS?

Basically if the text takes more than two lines the width = max-width
But that also happens when a word gets pushed to the next line leaving an empty space to the right!

loud pebble
#

I have a temporary fix which is to word-break: break-all;
But it’s sub-optimal

loud pebble
#

Up. Does anyone have a better way to fix this?

arctic arrow
#

Do you have a real example in mind?

#

Because this only happens if you have a long word without space