diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index b4e6d4a24b2..6188b3fc26e 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -641,6 +641,9 @@ left: 12% !important; margin-top: 0.5px; } +.tooltip.bottom { + padding: 5px 0 !important; +} .openerp .oe_notebook { margin: 8px 0; padding: 0 16px; diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js index c58089f4b5c..848f9e1ec3c 100644 --- a/addons/web/static/src/js/chrome.js +++ b/addons/web/static/src/js/chrome.js @@ -1262,7 +1262,7 @@ instance.web.Client = instance.web.Widget.extend({ bind_events: function() { var self = this; this.$el.on('mouseenter', '.oe_systray > div:not([data-toggle=tooltip])', function() { - $(this).attr('data-toggle', 'tooltip').tooltip().trigger('mouseenter'); + $(this).attr('data-toggle', 'tooltip').tooltip({placement: 'bottom', html: true}).trigger('mouseenter'); }); this.$el.on('click', '.oe_dropdown_toggle', function(ev) { ev.preventDefault(); diff --git a/addons/web/static/src/js/search.js b/addons/web/static/src/js/search.js index c3ef682bfcc..50535150bf3 100644 --- a/addons/web/static/src/js/search.js +++ b/addons/web/static/src/js/search.js @@ -400,7 +400,7 @@ instance.web.SearchView = instance.web.Widget.extend(/** @lends instance.web.Sea this.query = new my.SearchQuery() .on('add change reset remove', this.proxy('do_search')) .on('add change reset remove', this.proxy('renderFacets')); - + $('.oe_searchview_unfold_drawer').tooltip({html: true}); if (this.options.hidden) { this.$el.hide(); }