tracyak13
tracyak13

Reputation: 312

Tooltip content doesn't always wrap

I have dynamically generated tooltip content that shows the name of the file on hover.

Occasionally the text will wrap: enter image description here

and other times, it will not: enter image description here

I have also noticed that this has nothing to do with the length of the name - sometimes shorter file names will refuse to wrap even though those with 10 extra characters have no problem.

Is anyone else having this issue? Thanks!

Upvotes: 2

Views: 1949

Answers (1)

ababashka
ababashka

Reputation: 2101

Try to use word-break: break-all; css.

Upvotes: 5

Related Questions