Fix the handling of tool tip display if the txt is too long, added word-wrap styling

Reviewer: Tiff Go

Issue: GCP-8793