Share feedback, ideas and get community help

Updated 6 months ago

Blank spaces (CSS)

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!
Attachment
IMG_4053.png
B
5 comments
I have a temporary fix which is to word-break: break-all;
But it’s sub-optimal
Up. Does anyone have a better way to fix this?
Do you have a real example in mind?
Because this only happens if you have a long word without space
I guess the example depends on the size of the chatbot (also I modified the max length for the bubble, however that can't cause this).

Don't worry it's very very very specific, I just wanted to know if someone knew CSS enough to help me get arround that, but it's not important at all...

(censoring name of the company)
Attachment
image.png
Add a reply
Sign up and join the conversation on Discord