From a62ac2574e7f17e4740e480b471d3e223624de59 Mon Sep 17 00:00:00 2001 From: Robin McCorkell Date: Wed, 27 Aug 2014 20:45:43 +0100 Subject: [PATCH] Better tooltip handling of very long strings * Maximum tooltip length now 400px instead of 200px * Overflowing strings create ellipsis (...) --- core/css/jquery-tipsy.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/css/jquery-tipsy.css b/core/css/jquery-tipsy.css index 957385a269f..63b187fd051 100644 --- a/core/css/jquery-tipsy.css +++ b/core/css/jquery-tipsy.css @@ -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; } -- 2.39.5