mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
parent
4d1f37fbbb
commit
2215c7e17a
@ -58,17 +58,10 @@
|
||||
// Fixed first or last should special process
|
||||
&.@{table-prefix-cls}-cell-fix-left-last,
|
||||
&.@{table-prefix-cls}-cell-fix-right-first {
|
||||
display: flex;
|
||||
overflow: visible;
|
||||
|
||||
> .@{table-prefix-cls}-row-indent,
|
||||
> .@{table-prefix-cls}-row-expand-icon {
|
||||
flex: none;
|
||||
}
|
||||
|
||||
.@{table-prefix-cls}-cell-content {
|
||||
display: block;
|
||||
flex: auto;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
@ -424,11 +417,21 @@
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&-row-indent {
|
||||
float: left;
|
||||
height: 1px;
|
||||
|
||||
.@{table-wrapepr-rtl-cls} & {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
&-row-expand-icon {
|
||||
.operation-unit();
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
box-sizing: border-box;
|
||||
float: left;
|
||||
|
||||
width: ceil(@font-size-sm * 1.4);
|
||||
height: ceil(@font-size-sm * 1.4);
|
||||
@ -443,6 +446,10 @@
|
||||
transition: all 0.3s;
|
||||
user-select: none;
|
||||
|
||||
.@{table-wrapepr-rtl-cls} & {
|
||||
float: right;
|
||||
}
|
||||
|
||||
&:focus,
|
||||
&:hover,
|
||||
&:active {
|
||||
@ -492,6 +499,7 @@
|
||||
|
||||
.@{table-prefix-cls}-row-indent + & {
|
||||
margin-right: @padding-xs;
|
||||
margin-top: (@font-size-base * @line-height-base - ceil(@font-size-sm * 1.4)) / 2;
|
||||
|
||||
.@{table-wrapepr-rtl-cls} & {
|
||||
margin-right: 0;
|
||||
|
Loading…
Reference in New Issue
Block a user