enyo / opentip

Opentip is an open source javascript tooltip based on the protoype framework.
http://www.opentip.org
1.25k stars 401 forks source link

Tooltips have a max-width of 300px #70

Closed kcrwfrd closed 11 years ago

kcrwfrd commented 11 years ago

Tooltips with content set to an explicit width via CSS do not size greater than 300px. See an isolated demo at http://jsfiddle.net/kvcrawford/gksSy/1/

Thank you for the plugin, it's very well-written!

enyo commented 11 years ago

This is just a CSS property. Overwrite at will!

.opentip-container {
  max-width: 1000px;
}

Thank you, enjoy!

EDIT: I just set it to 300px because I felt that that a fairly intuitive width for a tooltip.

kcrwfrd commented 11 years ago

ahh! I was going crazy searching for a max-width somewhere with the inspector. Thanks @enyo