correct styling of tooltips of details widget and remove linebreaks in them