Skip to content

Commit

Permalink
[ui] Adjust padding in shadcn-ui pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
hhssb committed Oct 22, 2024
1 parent 9f36609 commit 75743ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/src/components/ui/pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ const PaginationPrevious = ({
<PaginationLink
aria-label="Go to previous page"
size="default"
className={cn("gap-1 pl-2.5", className)}
className={cn("gap-1 px-2.5", className)}
{...props}
>
<ChevronLeft className="h-4 w-4" />
</PaginationLink>
)
);
PaginationPrevious.displayName = "PaginationPrevious"

const PaginationNext = ({
Expand All @@ -80,12 +80,12 @@ const PaginationNext = ({
<PaginationLink
aria-label="Go to next page"
size="default"
className={cn("gap-1 pr-2.5", className)}
className={cn("gap-1 px-2.5", className)}
{...props}
>
<ChevronRight className="h-4 w-4" />
</PaginationLink>
)
);
PaginationNext.displayName = "PaginationNext"

const PaginationFirst = ({
Expand Down

0 comments on commit 75743ca

Please sign in to comment.