[FIX] correct css computation to remove unnecessary toolbar

This commit is contained in:
Géry Debongnie
2014-09-04 12:13:14 +02:00
parent f4e350ca36
commit 6e6dd7962c
+3 -1
View File
@@ -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();