fix(Descriptions): style bordered table overflow (#49946)

Co-authored-by: lidong01 <lidong01@corp.netease.com>
This commit is contained in:
空谷
2024-07-20 09:00:48 +08:00
committed by GitHub
parent 7defec2858
commit 2efbdbfe25

View File

@@ -62,6 +62,7 @@ const genBorderedStyle = (token: DescriptionsToken): CSSObject => {
return {
[`&${componentCls}-bordered`]: {
[`> ${componentCls}-view`]: {
overflow: 'hidden',
border: `${unit(token.lineWidth)} ${token.lineType} ${token.colorSplit}`,
'> table': {
tableLayout: 'auto',