Browse Source

fix: Table pagination missing when position is top (#26618)

close #26617
pull/26627/head
偏右 4 years ago
committed by GitHub
parent
commit
ce6d89e93a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      components/table/style/index.less
  2. 15
      components/table/style/rtl.less

8
components/table/style/index.less

@ -162,16 +162,18 @@
}
&-pagination {
display: flex;
&-left {
float: left;
justify-content: start;
}
&-center {
text-align: center;
justify-content: center;
}
&-right {
float: right;
justify-content: end;
}
}

15
components/table/style/rtl.less

@ -53,26 +53,15 @@
// ========================== Pagination ==========================
&-pagination {
.@{table-wrapepr-cls}.@{table-wrapepr-rtl-cls} & {
float: left;
}
&-left {
.@{table-wrapepr-cls}.@{table-wrapepr-rtl-cls} & {
float: left;
justify-content: end;
}
}
&-right {
.@{table-wrapepr-cls}.@{table-wrapepr-rtl-cls} & {
float: right;
}
}
&-center {
.@{table-wrapepr-cls}.@{table-wrapepr-rtl-cls} & {
float: initial;
text-align: center;
justify-content: start;
}
}
}

Loading…
Cancel
Save