Skip to content

Commit

Permalink
feat(Pagination): change width and height of pages
Browse files Browse the repository at this point in the history
  • Loading branch information
shervinchen committed Oct 28, 2024
1 parent a028db4 commit 6899bf9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/Pagination/Pagination.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export const usePaginationItemStyles = () => {
align-items: center;
justify-content: center;
white-space: nowrap;
min-width: 40px;
height: 40px;
min-width: 32px;
height: 32px;
padding: 0 8px;
border: 1px solid ${theme.palette.accents2};
border-radius: 6px;
Expand Down
4 changes: 2 additions & 2 deletions packages/Pagination/PaginationPages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ const PaginationPages: FC<PaginationPagesProps> = ({
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
width: 32px;
height: 32px;
}
`}
</style>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ exports[`Pagination should match the snapshot 1`] = `
>
<a
aria-label="Go to previous page"
class="jsx-4082017107 raw-pagination-item raw-pagination-item-disabled jsx-1949281962"
class="jsx-4082017107 raw-pagination-item raw-pagination-item-disabled jsx-1795007662"
>
<svg
fill="none"
Expand All @@ -35,11 +35,11 @@ exports[`Pagination should match the snapshot 1`] = `
</a>
</li>
<li
class="jsx-3237814599"
class="jsx-1087724783"
>
<a
aria-current="page"
class="jsx-3237814599 raw-pagination-item raw-pagination-item-active jsx-1949281962"
class="jsx-1087724783 raw-pagination-item raw-pagination-item-active jsx-1795007662"
>
1
</a>
Expand All @@ -49,7 +49,7 @@ exports[`Pagination should match the snapshot 1`] = `
>
<a
aria-label="Go to next page"
class="jsx-4082017107 raw-pagination-item raw-pagination-item-disabled jsx-1949281962"
class="jsx-4082017107 raw-pagination-item raw-pagination-item-disabled jsx-1795007662"
>
<svg
fill="none"
Expand Down

0 comments on commit 6899bf9

Please sign in to comment.