Skip to content

Commit

Permalink
fix(AnalyticalTable): fix broken empty row visualization (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
vbersch authored Jan 31, 2020
1 parent 2efbcdf commit c76f199
Show file tree
Hide file tree
Showing 5 changed files with 1,223 additions and 468 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const styles = ({ parameters }: JSSTheme) => ({
backgroundColor: parameters.sapUiListHeaderBackground
}
},
emptyRow: {},
tr: {
zIndex: 0,
backgroundColor: parameters.sapUiListBackground,
Expand All @@ -67,11 +68,11 @@ const styles = ({ parameters }: JSSTheme) => ({
}
},
selectable: {
'& $tr:hover': {
'& $tr:hover:not($emptyRow)': {
backgroundColor: parameters.sapUiListHoverBackground,
cursor: 'pointer'
},
'& $tr:active:not([data-is-selected]):not($tableGroupHeader)': {
'& $tr:active:not([data-is-selected]):not($tableGroupHeader):not($emptyRow)': {
backgroundColor: parameters.sapUiListActiveBackground,
'& $tableCell': {
borderRight: `1px solid ${parameters.sapUiListActiveBackground}`,
Expand Down
Loading

0 comments on commit c76f199

Please sign in to comment.