mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-21 02:18:28 +02:00
Tables in the main part of hbox need to be inline, or the block display ruins layout. Maybe a better way for this though
This commit is contained in:
parent
6c53a6f067
commit
b5b98f9a8b
@ -161,6 +161,17 @@ var et2_hbox = et2_baseWidget.extend({
|
|||||||
|
|
||||||
// Normally simply return the hbox-div
|
// Normally simply return the hbox-div
|
||||||
return this._super.apply(this, arguments);
|
return this._super.apply(this, arguments);
|
||||||
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Tables added to the root node need to be inline instead of blocks
|
||||||
|
*/
|
||||||
|
addChild: function(child) {
|
||||||
|
this._super.apply(this, arguments);
|
||||||
|
if(child.instanceOf && child.instanceOf(et2_grid) || child._type == 'et2_grid')
|
||||||
|
{
|
||||||
|
jQuery(child.getDOMNode(child)).css("display", "inline-table");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user