@@ -2,27 +2,25 @@ import { CssSizeVariables } from '@ui5/webcomponents-react-base/lib/CssSizeVaria
22import { ThemingParameters } from '@ui5/webcomponents-react-base/lib/ThemingParameters' ;
33
44const styles = {
5- tableContainer : {
6- width : '100%' ,
7- height : `calc(100% - ${ CssSizeVariables . sapWcrAnalyticalTableRowHeight } )` ,
8- minHeight : '3rem'
9- } ,
105 table : {
116 position : 'relative' ,
127 width : '100%' ,
138 maxWidth : '100%' ,
14- overflowX : 'auto'
9+ overflowX : 'auto' ,
10+ height : `calc(100% - ${ CssSizeVariables . sapWcrAnalyticalTableRowHeight } )` ,
11+ minHeight : '3rem' ,
12+ fontFamily : ThemingParameters . sapFontFamily ,
13+ fontSize : ThemingParameters . sapFontSize ,
14+ fontWeight : 'normal'
1515 } ,
1616 tableHeaderRow : {
17- boxShadow : 'none !important' ,
1817 height : CssSizeVariables . sapWcrAnalyticalTableRowHeight ,
19- position : 'relative'
18+ position : 'relative' ,
19+ display : 'inline-flex'
2020 } ,
2121 th : {
2222 backgroundColor : ThemingParameters . sapList_HeaderBackground ,
2323 height : CssSizeVariables . sapWcrAnalyticalTableRowHeight ,
24- fontFamily : ThemingParameters . sapFontFamily ,
25- fontSize : ThemingParameters . sapFontSize ,
2624 fontWeight : 'normal' ,
2725 color : ThemingParameters . sapList_HeaderTextColor ,
2826 borderTop : `1px solid ${ ThemingParameters . sapList_BorderColor } ` ,
@@ -43,22 +41,27 @@ const styles = {
4341 position : 'relative' ,
4442 zIndex : 0 ,
4543 backgroundColor : ThemingParameters . sapList_Background ,
46- overflowX : 'hidden !important ' ,
47- overflowY : 'auto !important '
44+ overflowX : 'hidden' ,
45+ overflowY : 'auto'
4846 } ,
4947 alternateRowColor : {
5048 backgroundColor : ThemingParameters . sapList_HeaderBackground
5149 } ,
5250 emptyRow : { } ,
5351 tr : {
52+ position : 'absolute' ,
53+ top : 0 ,
54+ left : 0 ,
55+ width : '100%' ,
5456 zIndex : 0 ,
5557 color : ThemingParameters . sapList_TextColor ,
58+ borderBottom : `1px solid ${ ThemingParameters . sapList_BorderColor } ` ,
5659 boxSizing : 'border-box' ,
60+ display : 'flex' ,
61+ height : CssSizeVariables . sapWcrAnalyticalTableRowHeight ,
5762 '&[data-is-selected]' : {
58- backgroundColor : `${ ThemingParameters . sapList_SelectionBackgroundColor } !important` ,
59- '& $tableCell' : {
60- borderBottom : `1px solid ${ ThemingParameters . sapList_SelectionBorderColor } `
61- }
63+ borderBottom : `1px solid ${ ThemingParameters . sapList_SelectionBorderColor } ` ,
64+ backgroundColor : `${ ThemingParameters . sapList_SelectionBackgroundColor } !important`
6265 } ,
6366 '&[data-is-selected]:hover' : {
6467 backgroundColor : `${ ThemingParameters . sapList_Hover_SelectionBackground } !important`
@@ -93,22 +96,18 @@ const styles = {
9396 selectionModeRowSelector : { } ,
9497 tableCell : {
9598 height : CssSizeVariables . sapWcrAnalyticalTableRowHeight ,
96- fontFamily : ThemingParameters . sapFontFamily ,
97- fontSize : ThemingParameters . sapFontSize ,
98- fontWeight : 'normal' ,
99- borderBottom : `1px solid ${ ThemingParameters . sapList_BorderColor } ` ,
10099 boxSizing : 'border-box' ,
101100 borderRight : `1px solid ${ ThemingParameters . sapList_BorderColor } ` ,
102- display : 'flex' ,
101+ display : 'inline- flex' ,
103102 padding : '0 0.5rem' ,
104103 '&:first-child' : {
105104 borderLeft : `1px solid ${ ThemingParameters . sapList_BorderColor } `
106105 } ,
107106 overflow : 'hidden' ,
108- position : 'relative' ,
109107 textOverflow : 'ellipsis' ,
110108 whiteSpace : 'nowrap' ,
111109 alignItems : 'center' ,
110+ position : 'relative' ,
112111 '&:focus' : {
113112 outlineOffset : '-2px' ,
114113 outline : `1px dotted ${ ThemingParameters . sapContent_FocusColor } `
0 commit comments