[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:
parent
44942dabdc
commit
f229d6985c
@ -7,11 +7,6 @@
|
||||
line-height: auto;
|
||||
}
|
||||
|
||||
.recline-grid-container {
|
||||
overflow: auto;
|
||||
height: 550px;
|
||||
}
|
||||
|
||||
.recline-grid {
|
||||
border: 1px solid #ccc;
|
||||
width: 100%;
|
||||
@ -232,8 +227,8 @@ td.expression-preview-value {
|
||||
* Read-only mode
|
||||
*********************************************************/
|
||||
|
||||
.recline-read-only .no-hidden .recline-grid tr td:first-child,
|
||||
.recline-read-only .no-hidden .recline-grid tr th:first-child
|
||||
.recline-read-only .recline-grid.no-hidden tr td:first-child,
|
||||
.recline-read-only .recline-grid.no-hidden tr th:first-child
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
@ -193,7 +193,7 @@ my.Grid = Backbone.View.extend({
|
||||
});
|
||||
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;
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user