Closed BallisticPain closed 3 years ago
So I'm playing around with the CSS now... I thought about programmatically showing the tippy element on the page to see if I can manipulate the CSS to make the box fit the content in height.
Ultimately I don't believe this is the best solution, but for now it works...
div.tippy-box {
min-height: 29px;
}
If anyone has a better solution, I would love to try it. If this is indeed the best available, let me know and I'll close the issue. I'll wait a few days before just closing it anyways.
Thanks for Tippy!
So I originally was having trouble getting my Angular component to show up inside the Tippy tooltip. However, I got it working using... Previously I was simply using
tippy('.pop-hover', options)
whereoptions
was the same as below with the exception of the addedtarget
for the delegate.The
.pop-hover
and.pop-span
were previously a simple CSS tooltip. I needed to attach to the body for another fix which also made my Angular component show up within the width of the tooltip. Below is an image showing the height issue.Here is the CSS for
.pop-hover
and.pop-span
I'm unable to inspect the Tippy bits so am unsure what CSS I may need to add. Any assistance greatly appreciated!
Best regards, Jarvis