@@ -23,8 +23,9 @@ export const VerticalScrollbar = forwardRef((props: VerticalScrollbarProps, ref:
23
23
style = { {
24
24
height : `${ internalRowHeight } px` ,
25
25
boxSizing : 'border-box' ,
26
- borderLeft : 'none' ,
27
- border : `1px solid ${ ThemingParameters . sapList_BorderColor } ` ,
26
+ borderTop : `1px solid ${ ThemingParameters . sapList_BorderColor } ` ,
27
+ borderRight : `1px solid ${ ThemingParameters . sapList_BorderColor } ` ,
28
+ borderBottom : `1px solid ${ ThemingParameters . sapList_BorderColor } ` ,
28
29
backgroundColor : ThemingParameters . sapList_HeaderBackground
29
30
} }
30
31
/>
@@ -33,26 +34,31 @@ export const VerticalScrollbar = forwardRef((props: VerticalScrollbarProps, ref:
33
34
style = { {
34
35
overflowY : 'auto' ,
35
36
height : tableRef . current ? `${ tableRef . current . clientHeight - internalRowHeight } px` : '0' ,
36
- border : `1px solid ${ ThemingParameters . sapList_BorderColor } ` ,
37
- borderTop : 'none' ,
38
- borderLeft : 'none' ,
37
+ borderRight : `1px solid ${ ThemingParameters . sapList_BorderColor } ` ,
38
+ borderBottom : `1px solid ${ ThemingParameters . sapList_BorderColor } ` ,
39
39
boxSizing : 'border-box'
40
40
} }
41
41
onScroll = { handleVerticalScrollBarScroll }
42
42
className = { GlobalStyleClasses . sapScrollBar }
43
43
>
44
- < div style = { { height : `${ Math . max ( minRows , rows . length ) * internalRowHeight } px` , width : '1px' } } />
44
+ < div
45
+ style = { {
46
+ height : `${ Math . max ( minRows , rows . length ) * internalRowHeight } px` ,
47
+ width : '1px'
48
+ } }
49
+ />
45
50
</ div >
46
51
< div
47
52
style = { {
48
53
flexGrow : 1 ,
49
54
backgroundColor : ThemingParameters . sapList_HeaderBackground ,
50
- border : hasHorizontalScrollbar ? `1px solid ${ ThemingParameters . sapList_BorderColor } ` : 'none' ,
51
- borderTop : 'none' ,
52
- borderLeft : 'none' ,
55
+ borderRight : hasHorizontalScrollbar ? `1px solid ${ ThemingParameters . sapList_BorderColor } ` : 'none' ,
56
+ borderBottom : hasHorizontalScrollbar ? `1px solid ${ ThemingParameters . sapList_BorderColor } ` : 'none' ,
53
57
boxSizing : 'border-box'
54
58
} }
55
59
/>
56
60
</ FlexBox >
57
61
) ;
58
62
} ) ;
63
+
64
+ VerticalScrollbar . displayName = 'VerticalScrollbar' ;
0 commit comments