Fix sub-grid column indent

This commit is contained in:
Nathan Gray 2014-09-22 22:29:09 +00:00
parent 6081076741
commit abaf99a827
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;