From fce54e9c482a3d612eb74e384cdaf55d11931331 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Tue, 29 Mar 2016 12:49:41 +0200
Subject: [PATCH] Fix tooltip too large

---
 htdocs/main.inc.php             |  2 +-
 htdocs/theme/eldy/style.css.php | 10 ++++------
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php
index 07a6ae7dc8c..41dcd6285c5 100644
--- a/htdocs/main.inc.php
+++ b/htdocs/main.inc.php
@@ -1948,7 +1948,7 @@ if (! function_exists("llxFooter"))
     		print "\n<!-- JS CODE TO ENABLE tipTip on all object with class classfortooltip -->\n";
     		print '<script type="text/javascript">
             	jQuery(document).ready(function () {
-            		jQuery(".classfortooltip").tipTip({maxWidth: "'.dol_size(600,'width').'px", edgeOffset: 10, delay: 50, fadeIn: 50, fadeOut: 50});
+            		jQuery(".classfortooltip").tipTip({maxWidth: "'.dol_size(400,'width').'px", edgeOffset: 10, delay: 50, fadeIn: 50, fadeOut: 50});
             	});
             </script>' . "\n";
         }
diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php
index 4d5ae4a3ba3..0314ce7b928 100644
--- a/htdocs/theme/eldy/style.css.php
+++ b/htdocs/theme/eldy/style.css.php
@@ -2893,12 +2893,10 @@ table.valid {
 	border-radius: 4px;
 }
 #tiptip_content {
--moz-border-radius:0px;
--webkit-border-radius: 0px;
-border-radius: 0px;
-background-color: rgb(255,255,255);
-/*	background-color: rgb(255,255,255);
-	background-color: rgba(255,255,255,0.95);*/
+    -moz-border-radius:0px;
+    -webkit-border-radius: 0px;
+    border-radius: 0px;
+    background-color: rgb(255,255,255);
 	line-height: 1.4em;
 	min-width: 200px;
 }
-- 
GitLab