I tried this, but it didn’t work. Any ideas?
.popover.hover-popover { width: fit-content; height: fit-content; }