Fix tooltips aggressively wrapping

Summary: I noticed tooltips that wrapped text would cut off words midway. We used `word-break: break-all` to support long file paths, instead of the more reasonable `break-word`.

Reviewed By: quark-zju

Differential Revision: D45126388

fbshipit-source-id: d256e62bfcb692cee1231886e42607c904959d19
This commit is contained in:
Evan Krause 2023-04-20 18:15:28 -07:00 committed by Facebook GitHub Bot
parent aa92b1abf7
commit a20fd719aa

View File

@ -53,7 +53,7 @@
.tooltip.simple-text-tooltip {
max-width: 250px;
white-space: pre-wrap;
word-break: break-all;
word-break: break-word;
pointer-events: unset;
}