Fix sub-templates missing proper height in idots framework

This commit is contained in:
Nathan Gray 2014-08-25 20:54:28 +00:00
parent 2139812849
commit ab1bae8a35
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ td.addressbook_sidebox_header {
vertical-align: bottom;
}
div#addressbook-view.et2_container {
height: 0;
height: 0 !important;
}
td.addressbook_sidebox_toolbar {
vertical-align: bottom;

View File

@ -76,7 +76,7 @@ egw_LAB.wait(function() {
$j('#divStatusBar').height()-$j('#divAppboxHeader').height()-$j('#divPoweredBy').height()-20;
//console.log('setting height of '+appbox_height);
$j('#divAppbox').css('min-height', appbox_height+'px');
$j('.et2_container').last().height(appbox_height-7);
$j('.et2_container').height(appbox_height-7);
});
$j(window).resize();
$j(window).load(function(){ // fixes sometimes not called resize, probably due to timing issues