I'm trying to display a bit of long text in a twitter bootstrap tooltip. As you can see in the picture below, things aren't going smashingly. Does anyone have an easy fix for text that overflows the bootstrap tooltip?
EDIT (added requested code):
In my controller:
<a href='" + Url.Action("Index", "PP", new {id = productRow.ProductGuid, area = ""}) + "' " +
((blTruncated) ? "class='auto-tooltip' title='" + productRow.ProductName.Replace("'", "") : "") + "'>" +
productName + "</a>
In my view:
$('.auto-tooltip').tooltip();
I'm not quite sure about your code,
here is an example with a long tool-tip value:
Element:
Js:
Css:
Demo: on JsBin.com
Apprently you can only change the
.tooltip-inner
in Bootstrap 4, thanks @Felix Dombek