Prevent cut-off tooltips

When tooltips are inside elements that have `white-space: nowrap;`, and the tooltip is longer than the tooltip width, the tooltip is cut off and you can only see part of it. This change explicitly sets `white-space: normal;` on tooltips to prevent this behavior.

Closes #2127.