Skip to content

Commit

Permalink
fix(AnalyticalTable): avoid scrollbar overlaying last column (#396)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusNotheis authored Mar 31, 2020
1 parent 532a6e5 commit fb282c7
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 51 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,22 @@ const styles = {
zIndex: 0,
backgroundColor: ThemingParameters.sapList_Background,
overflowX: 'hidden !important',
overflowY: 'auto !important'
overflowY: 'auto !important',
'&::-webkit-scrollbar': {
backgroundColor: ThemingParameters.sapScrollBar_TrackColor,
width: ThemingParameters.sapScrollBar_Dimension
},
'&::-webkit-scrollbar-thumb': {
backgroundColor: ThemingParameters.sapScrollBar_FaceColor,
width: ThemingParameters.sapScrollBar_Dimension,
borderRadius: '0.25rem',
'&:hover': {
backgroundColor: ThemingParameters.sapScrollBar_Hover_FaceColor
}
},
'&::-webkit-scrollbar-corner': {
backgroundColor: ThemingParameters.sapScrollBar_TrackColor
}
},
alternateRowColor: {
backgroundColor: ThemingParameters.sapList_HeaderBackground
Expand Down
Loading

0 comments on commit fb282c7

Please sign in to comment.