Skip to content

Commit

Permalink
fix: 优化pagination组件样式
Browse files Browse the repository at this point in the history
  • Loading branch information
ecaps1038 committed Mar 20, 2024
1 parent bc8793c commit 618734b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/yike-design-ui/components/pagination/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,17 @@
&:not(&-ellipsis):hover {
background-color: @pagination-pager-bg-color__hover;
}
&-next {
margin-right: 0;
}
&-prev {
margin-left: 0;
}
}
}

.yk-pagination-page-size {
margin-left: @pagination-margin-size;
margin-left: @pagination-margin-size*2;
}

.yk-pagination-jumper {
Expand All @@ -97,7 +103,7 @@
}

&__label {
margin-right: @pagination-margin-size * 2;
margin: 0 @pagination-margin-size * 2;
white-space: nowrap;
color: @font-color-l;
}
Expand Down

0 comments on commit 618734b

Please sign in to comment.