[FIX] fixes the tooltip position in chart mode (graph view). The position was wrong because the parent position was not 'relative'. (addon web_graph)
bzr revid: ged@openerp.com-20140225141623-cawr7yur38zhjcz4
This commit is contained in:
parent
fed81544ad
commit
47340431f9
|
@ -1,3 +1,7 @@
|
|||
.graph_main_content {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.graph_main_content td {
|
||||
font-size: 12px;
|
||||
margin: 45px;
|
||||
|
|
|
@ -171,8 +171,10 @@ openerp.web_graph.Graph = openerp.web.Widget.extend({
|
|||
|
||||
if (mode === 'pivot') {
|
||||
this.$('.graph_heatmap label').removeClass('disabled');
|
||||
this.$('.graph_main_content').css('position', 'inherit')
|
||||
} else {
|
||||
this.$('.graph_heatmap label').addClass('disabled');
|
||||
this.$('.graph_main_content').css('position', 'relative')
|
||||
}
|
||||
this.display_data();
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue