Skip to content

Commit

Permalink
style: 优化分页组件不对齐问题
Browse files Browse the repository at this point in the history
  • Loading branch information
qkiroc committed Jan 5, 2024
1 parent 5fd26a8 commit 3b2b131
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/amis-ui/scss/components/_pagination.scss
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
transition: all 0.2s;
}
> span {
opacity: 1;
opacity: 1;
transition: all 0.2s;
}
}
Expand All @@ -208,18 +208,17 @@
transition: all 0.2s;
}
> span {
opacity: 0;
opacity: 0;
transition: all 0.2s;
}
}
}

.#{$ns}Pagination-wrap {
line-height: px2rem(30px);

.#{$ns}Pagination-item {
&.#{$ns}Pagination-perpage {
margin-left: px2rem(8px);
vertical-align: baseline;
}
&:nth-child(1) {
margin-left: 0;
Expand Down Expand Up @@ -264,8 +263,8 @@

.#{$ns}Pagination-item {
margin-left: px2rem(4px);
> li {

> li {
> a,
> span {
min-width: var(--Pagination-minWidth-sm);
Expand All @@ -274,8 +273,9 @@
padding: var(--Pagination-padding-sm);
}
}

.#{$ns}Pagination-inputGroup, .#{$ns}Pagination-simplego {

.#{$ns}Pagination-inputGroup,
.#{$ns}Pagination-simplego {
height: var(--Pagination-height-sm);
&-input {
min-width: px2rem(40px);
Expand Down

0 comments on commit 3b2b131

Please sign in to comment.