[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:
Rufus Pollock
2012-05-13 08:25:23 +01:00
parent 44942dabdc
commit f229d6985c
2 changed files with 3 additions and 8 deletions

View File

@@ -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;
}
});