Skip to content

Commit c76f199

Browse files
authored
fix(AnalyticalTable): fix broken empty row visualization (#296)
1 parent 2efbcdf commit c76f199

File tree

5 files changed

+1223
-468
lines changed

5 files changed

+1223
-468
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ const styles = ({ parameters }: JSSTheme) => ({
4545
backgroundColor: parameters.sapUiListHeaderBackground
4646
}
4747
},
48+
emptyRow: {},
4849
tr: {
4950
zIndex: 0,
5051
backgroundColor: parameters.sapUiListBackground,
@@ -67,11 +68,11 @@ const styles = ({ parameters }: JSSTheme) => ({
6768
}
6869
},
6970
selectable: {
70-
'& $tr:hover': {
71+
'& $tr:hover:not($emptyRow)': {
7172
backgroundColor: parameters.sapUiListHoverBackground,
7273
cursor: 'pointer'
7374
},
74-
'& $tr:active:not([data-is-selected]):not($tableGroupHeader)': {
75+
'& $tr:active:not([data-is-selected]):not($tableGroupHeader):not($emptyRow)': {
7576
backgroundColor: parameters.sapUiListActiveBackground,
7677
'& $tableCell': {
7778
borderRight: `1px solid ${parameters.sapUiListActiveBackground}`,

0 commit comments

Comments
 (0)