Expand tooltip content (NuxtUI)
Is there a way to increase the space a tooltip can use to display content? I'm currently doing this:
But the second span isn't showing at all. Are there any props I can edit to achieve what I want? I can confirm that there is indeed data in the
.tooltip
property, but I assume that the tooltip has a fixed height to display text.3 Replies
I managed to fix it slightly, but now the words of my span tag won't wrap
Hi, try adding this to the tooltip class
:ui="{ base: 'h-fit overflow-visible whitespace-normal' }"
That works, you're a legend @Antonio Ivanov 🙏