[view/grid][xs]: fix to grid css so drop-down menus are not hidden if they overflow plus move no-hidden attribute onto recline-grid making css simpler and more reliable.
This commit is contained in:
@@ -7,11 +7,6 @@
|
|||||||
line-height: auto;
|
line-height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.recline-grid-container {
|
|
||||||
overflow: auto;
|
|
||||||
height: 550px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.recline-grid {
|
.recline-grid {
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -232,8 +227,8 @@ td.expression-preview-value {
|
|||||||
* Read-only mode
|
* Read-only mode
|
||||||
*********************************************************/
|
*********************************************************/
|
||||||
|
|
||||||
.recline-read-only .no-hidden .recline-grid tr td:first-child,
|
.recline-read-only .recline-grid.no-hidden tr td:first-child,
|
||||||
.recline-read-only .no-hidden .recline-grid tr th:first-child
|
.recline-read-only .recline-grid.no-hidden tr th:first-child
|
||||||
{
|
{
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -193,7 +193,7 @@ my.Grid = Backbone.View.extend({
|
|||||||
});
|
});
|
||||||
newView.render();
|
newView.render();
|
||||||
});
|
});
|
||||||
this.el.toggleClass('no-hidden', (self.state.get('hiddenFields').length === 0));
|
this.el.find('.recline-grid').toggleClass('no-hidden', (self.state.get('hiddenFields').length === 0));
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user