[FIX] correct css computation to remove unnecessary toolbar
This commit is contained in:
@@ -36,11 +36,13 @@ openerp_announcement = function(instance) {
|
||||
$('.openerp_webclient_container').css('height', 'calc(100% - 34px)');
|
||||
}, 400);
|
||||
};
|
||||
var height = $('#announcement_bar_table').outerHeight()
|
||||
+ $('#oe_main_menu_navbar').outerHeight();
|
||||
$('.openerp_webclient_container').css('height', 'calc(100% - ' + height + 'px)');
|
||||
$bar.find('.close').on('click', close);
|
||||
self.trigger('ab_loaded', $bar);
|
||||
});
|
||||
|
||||
$('.openerp_webclient_container').css('height', 'calc(100% - 64px)');
|
||||
$('head').append($css);
|
||||
}).fail(function(result, ev){
|
||||
ev.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user