Skip to content

Commit

Permalink
Fix #1393, align feature grid headers to the theme.
Browse files Browse the repository at this point in the history
 - Header of the feature grid (aggrid) are now forced to have the same sizes of the other headers
 - Mouse pointer changes when hover header (to change sorting)
 - ZIndex of the grid's dock is now below all dialogs, but still above the toc
  • Loading branch information
offtherailz committed Jan 20, 2017
1 parent ad275ba commit 4547ebb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ const DockedFeatureGrid = React.createClass({
if (this.props.open && this.props.filterObj && cols) {
return (
<Dock
zIndex={1030 /*below dialogs, above left menu*/}
position={"bottom" /* 'left', 'top', 'right', 'bottom' */}
size={this.state.size}
dimMode={"none" /*'transparent', 'none', 'opaque'*/}
Expand Down
12 changes: 12 additions & 0 deletions web/client/components/data/featuregrid/featuregrid.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,15 @@
right: 0;
bottom: 0;
}
.ag-body {
/* !important is needed, we need to override inline attributes of ag-grid */
padding-top: 55px !important;
}
.ag-header, .ag-header-row, .ag-header-container .ag-header-row {
/* !important is needed, we need to override inline attributes of ag-grid */
height:55px !important;
}
.ag-fresh .ag-header-cell-label {
padding-top: 17px;
cursor: pointer;
}

0 comments on commit 4547ebb

Please sign in to comment.