Skip to content

Commit 98774d8

Browse files
committed
fix(AnalyticalTable): Fix selectedRow background color with alernateRowColor
1 parent 928cdb9 commit 98774d8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/main/src/components/AnalyticalTable/AnayticalTable.jss.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ const styles = ({ parameters }: JSSTheme) => ({
4040
overflowX: 'auto',
4141
backgroundColor: parameters.sapUiListBackground
4242
},
43+
alternateRowColor: {
44+
'& $tr:nth-child(even)': {
45+
backgroundColor: parameters.sapUiListHeaderBackground
46+
}
47+
},
4348
tr: {
4449
zIndex: 0,
4550
backgroundColor: parameters.sapUiListBackground,
@@ -51,11 +56,6 @@ const styles = ({ parameters }: JSSTheme) => ({
5156
backgroundColor: `${parameters.sapUiListSelectionHoverBackground} !important`
5257
}
5358
},
54-
alternateRowColor: {
55-
'& $tr:nth-child(even)': {
56-
backgroundColor: parameters.sapUiListHeaderBackground
57-
}
58-
},
5959
tableGroupHeader: {
6060
'&$tr': {
6161
backgroundColor: `${parameters.sapUiListTableGroupHeaderBackground} !important`,

0 commit comments

Comments
 (0)