Skip to content

Commit 38dd977

Browse files
authored
style: remove table's tr rounded corner (#6825)
1 parent 72f9262 commit 38dd977

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

components/table/style/index.ts

-34
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ const genTableStyle: GenerateStyle<TableToken, CSSObject> = token => {
9292
tableFooterTextColor,
9393
tableFooterBg,
9494
paddingContentVerticalLG,
95-
wireframe,
9695
} = token;
9796
const tableBorder = `${lineWidth}px ${lineType} ${tableBorderColor}`;
9897
return {
@@ -249,39 +248,6 @@ const genTableStyle: GenerateStyle<TableToken, CSSObject> = token => {
249248
},
250249
},
251250

252-
[`${componentCls}:not(${componentCls}-bordered) ${componentCls}-tbody > tr`]: wireframe
253-
? undefined
254-
: {
255-
[`&${componentCls}-row:hover, &${componentCls}-row${componentCls}-row-selected`]: {
256-
[`+ tr${componentCls}-row > td`]: {
257-
borderTopColor: 'transparent',
258-
},
259-
},
260-
261-
[`&${componentCls}-row:last-child:hover > td,
262-
&${componentCls}-row${componentCls}-row-selected:last-child > td`]: {
263-
borderBottomColor: 'transparent',
264-
},
265-
266-
[`
267-
&${componentCls}-row:hover > td,
268-
> td${componentCls}-cell-row-hover,
269-
&${componentCls}-row${componentCls}-row-selected > td
270-
`]: {
271-
borderTopColor: 'transparent',
272-
273-
'&:first-child': {
274-
borderStartStartRadius: tableRadius,
275-
borderEndStartRadius: tableRadius,
276-
},
277-
278-
'&:last-child': {
279-
borderStartEndRadius: tableRadius,
280-
borderEndEndRadius: tableRadius,
281-
},
282-
},
283-
},
284-
285251
// ============================ Footer ============================
286252
[`${componentCls}-footer`]: {
287253
padding: `${tablePaddingVertical}px ${tablePaddingHorizontal}px`,

0 commit comments

Comments
 (0)