mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
fix(list): pagination's default alignment is at the end (#49925)
This commit is contained in:
parent
66c4004155
commit
abca9a8baf
@ -3248,7 +3248,7 @@ exports[`renders components/list/demo/vertical.tsx extend context correctly 1`]
|
||||
class="ant-list-pagination"
|
||||
>
|
||||
<ul
|
||||
class="ant-pagination"
|
||||
class="ant-pagination ant-pagination-end"
|
||||
>
|
||||
<li
|
||||
aria-disabled="true"
|
||||
|
@ -3228,7 +3228,7 @@ exports[`renders components/list/demo/vertical.tsx correctly 1`] = `
|
||||
class="ant-list-pagination"
|
||||
>
|
||||
<ul
|
||||
class="ant-pagination"
|
||||
class="ant-pagination ant-pagination-end"
|
||||
>
|
||||
<li
|
||||
aria-disabled="true"
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
exports[`List.pagination pagination button should be displayed normally, when the paginator total is not defined 1`] = `
|
||||
<ul
|
||||
class="ant-pagination"
|
||||
class="ant-pagination ant-pagination-end"
|
||||
>
|
||||
<li
|
||||
aria-disabled="true"
|
||||
@ -123,7 +123,7 @@ exports[`List.pagination renders pagination correctly 1`] = `
|
||||
class="ant-list-pagination"
|
||||
>
|
||||
<ul
|
||||
class="ant-pagination my-page"
|
||||
class="ant-pagination ant-pagination-end my-page"
|
||||
>
|
||||
<li
|
||||
aria-disabled="true"
|
||||
@ -218,7 +218,7 @@ exports[`List.pagination renders pagination correctly 1`] = `
|
||||
|
||||
exports[`List.pagination should change page size work 1`] = `
|
||||
<ul
|
||||
class="ant-pagination"
|
||||
class="ant-pagination ant-pagination-end"
|
||||
>
|
||||
<li
|
||||
aria-disabled="true"
|
||||
@ -363,7 +363,7 @@ exports[`List.pagination should change page size work 1`] = `
|
||||
|
||||
exports[`List.pagination should change page size work 2`] = `
|
||||
<ul
|
||||
class="ant-pagination"
|
||||
class="ant-pagination ant-pagination-end"
|
||||
>
|
||||
<li
|
||||
aria-disabled="true"
|
||||
@ -611,7 +611,7 @@ exports[`List.pagination should change page size work 2`] = `
|
||||
|
||||
exports[`List.pagination should default work 1`] = `
|
||||
<ul
|
||||
class="ant-pagination"
|
||||
class="ant-pagination ant-pagination-end"
|
||||
>
|
||||
<li
|
||||
aria-disabled="false"
|
||||
|
@ -204,6 +204,7 @@ function List<T>({
|
||||
const paginationContent = pagination && (
|
||||
<div className={classNames(`${prefixCls}-pagination`)}>
|
||||
<Pagination
|
||||
align="end"
|
||||
{...paginationProps}
|
||||
onChange={onPaginationChange}
|
||||
onShowSizeChange={onPaginationShowSizeChange}
|
||||
|
Loading…
Reference in New Issue
Block a user