style: Table expandIcon style when column is fixed and ellipsis (#36496)

close #36485
This commit is contained in:
afc163 2022-07-13 14:40:43 +08:00 committed by GitHub
parent c32aa462c0
commit 008681c1bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -500,7 +500,7 @@
color: inherit; color: inherit;
line-height: ceil(((@font-size-sm * 1.4 - @border-width-base * 3) / 2)) * 2 + @border-width-base * line-height: ceil(((@font-size-sm * 1.4 - @border-width-base * 3) / 2)) * 2 + @border-width-base *
3; 3;
vertical-align: -3px; vertical-align: -2.5px;
background: @table-expand-icon-bg; background: @table-expand-icon-bg;
border: @border-width-base @border-style-base @table-border-color; border: @border-width-base @border-style-base @table-border-color;
border-radius: @border-radius-base; border-radius: @border-radius-base;
@ -561,10 +561,14 @@
} }
.@{table-prefix-cls}-row-indent + & { .@{table-prefix-cls}-row-indent + & {
margin-top: ((@font-size-base * @line-height-base - @border-width-base * 3) / 2) -
ceil(((@font-size-sm * 1.4 - @border-width-base * 3) / 2));
margin-right: @padding-xs; margin-right: @padding-xs;
} }
+ .@{table-prefix-cls}-cell-content {
display: inline-block !important;
width: calc(100% - (@expand-icon-size + @padding-xs));
vertical-align: top;
}
} }
tr&-expanded-row { tr&-expanded-row {