Skip to content

Commit 79040d7

Browse files
committed
fix frozen row background
1 parent 723a017 commit 79040d7

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/components/BrowserCell/BrowserCell.react.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,6 @@ export default class BrowserCell extends Component {
637637
style.position = 'sticky';
638638
style.left = this.props.stickyLeft;
639639
style.zIndex = 1;
640-
style.background = this.props.rowBackground;
641640
style.borderBottom = '1px solid #e3e3ea';
642641
}
643642

src/components/BrowserRow/BrowserRow.react.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ export default class BrowserRow extends Component {
7171
} else if (obj.className === '_User' && obj.get('authData') !== undefined) {
7272
requiredCols = ['authData'];
7373
}
74-
const rowBackground = row % 2 ? '#F4F5F7' : '#FFFFFF';
7574
const rowStyle = { minWidth: rowWidth };
7675
return (
7776
<div className={styles.tableRow} style={rowStyle} onMouseOver={() => onMouseOverRow(obj.id)}>
@@ -85,7 +84,6 @@ export default class BrowserRow extends Component {
8584
position: 'sticky',
8685
left: 0,
8786
zIndex: 1,
88-
background: rowBackground,
8987
borderBottom: '1px solid #e3e3ea',
9088
}
9189
: {}
@@ -149,7 +147,6 @@ export default class BrowserRow extends Component {
149147
readonly={isUnique || readOnlyFields.indexOf(name) > -1}
150148
width={width}
151149
stickyLeft={freezeIndex >= j ? stickyLefts[j] : undefined}
152-
rowBackground={rowBackground}
153150
current={currentCol === j}
154151
onSelect={setCurrent}
155152
onEditChange={setEditing}

0 commit comments

Comments
 (0)