Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Handle super-long unbroken strings

If your text is long and doesn't have spaces, the tooltip just cut it off 
and the right margin would overflow. Now it wraps anyway which looks a bit 
cleaner.
  • Loading branch information...
commit 59f903c7ce208b9c7190f95a6f30bcc22995e793 1 parent 8cd3dbc
hitsthings authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/stylesheets/tipsy.css
View
2  src/stylesheets/tipsy.css
@@ -1,4 +1,4 @@
-.tipsy { font-size: 10px; position: absolute; padding: 5px; z-index: 100000; }
+.tipsy { font-size: 10px; position: absolute; padding: 5px; word-wrap: break-word; z-index: 100000; }
.tipsy-inner { background-color: #000; color: #FFF; max-width: 200px; padding: 5px 8px 4px 8px; text-align: center; }
/* Rounded corners */
Please sign in to comment.
Something went wrong with that request. Please try again.