]> source.dussan.org Git - nextcloud-server.git/commitdiff
Better tooltip handling of very long strings
authorRobin McCorkell <rmccorkell@karoshi.org.uk>
Wed, 27 Aug 2014 19:45:43 +0000 (20:45 +0100)
committerRobin McCorkell <rmccorkell@karoshi.org.uk>
Thu, 11 Sep 2014 14:45:42 +0000 (15:45 +0100)
 * Maximum tooltip length now 400px instead of 200px
 * Overflowing strings create ellipsis (...)

core/css/jquery-tipsy.css

index 957385a269f21e00d114144dc4fc94b5fc578596..63b187fd051abcc3a764e74d3330cfb2c254ecc9 100644 (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; }