Fix sub-grid column indent

This commit is contained in:
Ralf Becker 2014-09-10 11:16:11 +00:00
parent edcb6aef24
commit f6fc2cc67f
2 changed files with 2 additions and 5 deletions

View File

@ -624,7 +624,7 @@ var et2_dataview_controller = Class.extend({
if(this.entry.idx == 0)
{
// Set the CSS for the level - required so columns line up
var indent = $j("<span class='indentation'/>").appendTo(tr);
var indent = $j("<span class='indentation'/>").appendTo('body');
egw.css(".subentry td div.innerContainer.level_"+d,
"margin-right:" + (parseInt(indent.css("margin-right")) * d) + "px"
);

View File

@ -1078,14 +1078,11 @@ div.message.floating {
* Grid / nextmatch Hierarchy
*/
/* Make sure arrow & cell content don't overlap */
.egwGridView_grid span.arrow {
.et2_nextmatch .egwGridView_grid span.arrow {
margin: 6px -12px 4px 4px;
float: left;
position: relative;
}
.egwGridView_grid span.arrow ~ div.innerContainer {
display: inline;
}
/* Indent the sub-grid */
.egwGridView_grid .egwGridView_grid {
margin-left: 10px;