I use jQuery UI\'s new Tooltip and having trouble with figuring out how to set a maximum width of the tooltip. I guess it should be done with position, but how?
in script:
$(elm).tooltip({tooltipClass: "my-tooltip-styling" });
in css:
.my-tooltip-styling { max-width: 600px; }
div.ui-tooltip{ width: 210px; //if fit-content not worked in specifics browsers width: fit-content; }