From e6112472cede1ee52497e8f91541fbaf8d5a7531 Mon Sep 17 00:00:00 2001 From: "Kunal Chavda (Open ERP)" Date: Tue, 17 Dec 2013 15:11:57 +0530 Subject: [PATCH] [FIX]css issue. bzr revid: kch@tinyerp.com-20131217094157-i45wv6xs1uz38kin --- addons/web/static/lib/bootstrap/js/bootstrap.js | 2 +- addons/web/static/src/css/base.css | 3 ++- addons/web/static/src/css/base.sass | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/addons/web/static/lib/bootstrap/js/bootstrap.js b/addons/web/static/lib/bootstrap/js/bootstrap.js index 1c638ab4410..ba2d887a0fd 100644 --- a/addons/web/static/lib/bootstrap/js/bootstrap.js +++ b/addons/web/static/lib/bootstrap/js/bootstrap.js @@ -1141,7 +1141,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery" var eventOut = trigger == 'hover' ? 'mouseleave' : 'blur' this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this)) - this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this)) + //this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this)) } } diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 06239a389cd..008d811f30c 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -3465,10 +3465,11 @@ div.ui-widget-overlay { .tooltip-inner { text-align: left !important; + max-width: 250px; } .tooltip.bottom .tooltip-arrow { - left: 35% !important; + left: 50%; } button, body { diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index e74fae44206..549b89e2b21 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2768,8 +2768,9 @@ div.ui-widget-overlay // Customize bootstrap3 for tooltip .tooltip-inner text-align: left !important + max-width: 250px .tooltip.bottom .tooltip-arrow - left: 35% !important + left: 50% // End of customize // Customize for global tags