norcross / gravity-tooltips

Adds a custom field to each form element for tooltips
MIT License
74 stars 20 forks source link

Is there any way of restricting width? #22

Closed ghost closed 8 years ago

ghost commented 8 years ago

Tool tips with long content overflow the browser window. Is there a way to force a width on the data-hint element? gravity_tooltips

norcross commented 8 years ago

not off hand but let me see what's doable.

norcross commented 8 years ago

OK. I'm pushing an update that'll allow some linebreaks. You'll need to use the HTML entity &#xa; and not a <br> for it to work.

ghost commented 8 years ago

Fantastic! Thanks a lot :)