mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
style: Table expandIcon style when column is fixed and ellipsis (#36496)
close #36485
This commit is contained in:
parent
c32aa462c0
commit
008681c1bf
@ -500,7 +500,7 @@
|
||||
color: inherit;
|
||||
line-height: ceil(((@font-size-sm * 1.4 - @border-width-base * 3) / 2)) * 2 + @border-width-base *
|
||||
3;
|
||||
vertical-align: -3px;
|
||||
vertical-align: -2.5px;
|
||||
background: @table-expand-icon-bg;
|
||||
border: @border-width-base @border-style-base @table-border-color;
|
||||
border-radius: @border-radius-base;
|
||||
@ -561,10 +561,14 @@
|
||||
}
|
||||
|
||||
.@{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;
|
||||
}
|
||||
|
||||
+ .@{table-prefix-cls}-cell-content {
|
||||
display: inline-block !important;
|
||||
width: calc(100% - (@expand-icon-size + @padding-xs));
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
||||
|
||||
tr&-expanded-row {
|
||||
|
Loading…
Reference in New Issue
Block a user