Merge pull request #10715 from zhangtao07/master

fix: 修复crud2行角标显示问题
This commit is contained in:
张涛 2024-08-02 16:05:57 +08:00 committed by GitHub
commit 6f39900e22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -2,6 +2,11 @@
position: relative;
border-radius: var(--Table-borderRadius);
.#{$ns}Table-cell-wrapper .#{$ns}Table-badge {
width: 100%;
height: 100%;
}
&.#{$ns}Table-bordered {
border-width: var(--Table-borderWidth) var(--Table-borderWidth) 0
var(--Table-borderWidth);

View File

@ -1007,7 +1007,7 @@ export default class Table2 extends React.Component<Table2Props, object> {
);
},
row: item,
showBadge,
showBadge: showBadge && col === 0,
itemBadge,
testIdBuilder: itemIDBuilder
}),