@@ -67,13 +67,17 @@ const getStyle = (
67
67
&,
68
68
> td {
69
69
background: ${ genLinerGradient ( rowStyle . background ) } ;
70
+ border-bottom:${ rowStyle . borderWidth } ${ rowStyle . borderStyle } ${ rowStyle . border } !important;
71
+ border-right:${ rowStyle . borderWidth } ${ rowStyle . borderStyle } ${ rowStyle . border } !important;
70
72
}
71
73
}
72
74
73
75
> tr:nth-of-type(2n) {
74
76
&,
75
77
> td {
76
78
background: ${ alternateBackground } ;
79
+ border-bottom:${ rowStyle . borderWidth } ${ rowStyle . borderStyle } ${ rowStyle . border } !important;
80
+ border-right:${ rowStyle . borderWidth } ${ rowStyle . borderStyle } ${ rowStyle . border } !important;
77
81
}
78
82
}
79
83
@@ -136,14 +140,15 @@ const BackgroundWrapper = styled.div<{
136
140
$style : TableStyleType ;
137
141
$tableAutoHeight : boolean ;
138
142
} > `
139
- ${ ( props ) => ! props . $tableAutoHeight && `height: calc(100% - ${ props . $style . margin } - ${ props . $style . margin } );` }
140
143
background: ${ ( props ) => props . $style . background } !important;
141
- border: ${ ( props ) => `${ props . $style . borderWidth } solid ${ props . $style . border } !important` } ;
144
+ // border: ${ ( props ) => `${ props . $style . border } !important` } ;
142
145
border-radius: ${ ( props ) => props . $style . radius } !important;
143
146
// padding: unset !important;
144
- padding: ${ ( props ) => props . $style . padding } !important
147
+ padding: ${ ( props ) => props . $style . padding } !important;
145
148
margin: ${ ( props ) => props . $style . margin } !important;
146
149
overflow: scroll !important;
150
+ border-style:${ ( props ) => props . $style . borderStyle } !important;
151
+ border-width: ${ ( props ) => `${ props . $style . borderWidth } !important` } ;
147
152
${ ( props ) => props . $style }
148
153
` ;
149
154
@@ -339,7 +344,6 @@ const TableTd = styled.td<{
339
344
}
340
345
background: ${ ( props ) => props . $background } !important;
341
346
border-color: ${ ( props ) => props . $style . border } !important;
342
- border-width: ${ ( props ) => props . $style . borderWidth } !important;
343
347
border-radius: ${ ( props ) => props . $style . radius } ;
344
348
345
349
padding: 0 !important;
@@ -533,7 +537,7 @@ function TableCellView(props: {
533
537
text : columnStyle . text || columnsStyle . text ,
534
538
border : columnStyle . border || columnsStyle . border ,
535
539
radius : columnStyle . radius || columnsStyle . radius ,
536
- borderWidth : columnStyle . borderWidth || columnsStyle . borderWidth ,
540
+ // borderWidth: columnStyle.borderWidth || columnsStyle.borderWidth,
537
541
textSize : columnStyle . textSize || columnsStyle . textSize ,
538
542
textWeight : columnsStyle . textWeight || columnStyle . textWeight ,
539
543
fontFamily : columnsStyle . fontFamily || columnStyle . fontFamily ,
0 commit comments