Better tooltip handling of very long strings

* Maximum tooltip length now 400px instead of 200px
 * Overflowing strings create ellipsis (...)
This commit is contained in:
Robin McCorkell 2014-08-27 20:45:43 +01:00
parent 99d41bec5d
commit a62ac2574e

View file

@ -1,5 +1,5 @@
.tipsy { font-size:10px; position:absolute; padding:5px; z-index:100000; }
.tipsy-inner { background-color:#000; color:#FFF; max-width:200px; padding:5px 8px 4px 8px; text-align:center; }
.tipsy-inner { background-color:#000; color:#FFF; max-width:400px; padding:5px 8px 4px 8px; text-align:center; overflow: hidden; text-overflow: ellipsis; }
/* Rounded corners */
.tipsy-inner { border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px; }