mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01:00
idots now also automatic resizes its application area like Stylite template, so eg. et2 nextmatch can fill full area
This commit is contained in:
parent
65223eb80a
commit
b4accbbcb5
@ -3,6 +3,11 @@
|
||||
allowed attributes: font-family,font-size,color,font-weight
|
||||
*/
|
||||
|
||||
body
|
||||
{
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
body,td,textarea
|
||||
{
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
|
@ -41,4 +41,19 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Installing resize handler for divAppbox and et2_container, as et2 otherwise can not correctly size nextmatch
|
||||
*/
|
||||
$j(function()
|
||||
{
|
||||
$j(window).resize(function(){
|
||||
var appbox_height = $j(window).height()-$j('#topmenu').height()-$j('#divAppIconBar').height()-
|
||||
$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').height(appbox_height);
|
||||
});
|
||||
$j(window).resize();
|
||||
});
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user