style: remove table's tr rounded corner (#6825)
							parent
							
								
									72f9262d0a
								
							
						
					
					
						commit
						38dd977b4c
					
				|  | @ -92,7 +92,6 @@ const genTableStyle: GenerateStyle<TableToken, CSSObject> = token => { | |||
|     tableFooterTextColor, | ||||
|     tableFooterBg, | ||||
|     paddingContentVerticalLG, | ||||
|     wireframe, | ||||
|   } = token; | ||||
|   const tableBorder = `${lineWidth}px ${lineType} ${tableBorderColor}`; | ||||
|   return { | ||||
|  | @ -249,39 +248,6 @@ const genTableStyle: GenerateStyle<TableToken, CSSObject> = token => { | |||
|         }, | ||||
|       }, | ||||
| 
 | ||||
|       [`${componentCls}:not(${componentCls}-bordered) ${componentCls}-tbody > tr`]: wireframe | ||||
|         ? undefined | ||||
|         : { | ||||
|             [`&${componentCls}-row:hover, &${componentCls}-row${componentCls}-row-selected`]: { | ||||
|               [`+ tr${componentCls}-row > td`]: { | ||||
|                 borderTopColor: 'transparent', | ||||
|               }, | ||||
|             }, | ||||
| 
 | ||||
|             [`&${componentCls}-row:last-child:hover > td,
 | ||||
|           &${componentCls}-row${componentCls}-row-selected:last-child > td`]: {
 | ||||
|               borderBottomColor: 'transparent', | ||||
|             }, | ||||
| 
 | ||||
|             [` | ||||
|           &${componentCls}-row:hover > td, | ||||
|           > td${componentCls}-cell-row-hover, | ||||
|           &${componentCls}-row${componentCls}-row-selected > td | ||||
|         `]: {
 | ||||
|               borderTopColor: 'transparent', | ||||
| 
 | ||||
|               '&:first-child': { | ||||
|                 borderStartStartRadius: tableRadius, | ||||
|                 borderEndStartRadius: tableRadius, | ||||
|               }, | ||||
| 
 | ||||
|               '&:last-child': { | ||||
|                 borderStartEndRadius: tableRadius, | ||||
|                 borderEndEndRadius: tableRadius, | ||||
|               }, | ||||
|             }, | ||||
|           }, | ||||
| 
 | ||||
|       // ============================ Footer ============================
 | ||||
|       [`${componentCls}-footer`]: { | ||||
|         padding: `${tablePaddingVertical}px ${tablePaddingHorizontal}px`, | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Konv Suu
						Konv Suu