Skip to content

Commit 227fd47

Browse files
authored
Merge pull request #87 from AdRoll/fix-frozen-checkbox-horizontal-scroll
Override CSS property of the frozen header
2 parents 580ebef + 70e9872 commit 227fd47

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

frontend/src/index.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,14 @@ pre {
8888
.Select-menu {
8989
max-height: 400px;
9090
}
91+
92+
// override stickiness of checkbox-select frozen header row:
93+
// https://github.com/adazzle/react-data-grid/issues/1386#issuecomment-510532495
94+
// the full select column isn't frozen so alignment gets off during horizontal scrolling
95+
.react-grid-Row .react-grid-Cell--frozen {
96+
transform: translate3d(0px, 0px, 0px) !important;
97+
}
98+
99+
.react-grid-HeaderRow .react-grid-HeaderCell--frozen {
100+
transform: translate3d(0px, 0px, 0px) !important;
101+
}

0 commit comments

Comments
 (0)