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