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

close #26617
This commit is contained in:
偏右 2020-09-07 16:52:10 +08:00 committed by GitHub
parent a26517f9ab
commit ce6d89e93a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 16 deletions

View File

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

View File

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