Skip to content

Commit

Permalink
Update pager css
Browse files Browse the repository at this point in the history
  • Loading branch information
ghsteff committed Dec 12, 2023
1 parent 676cd6d commit c886963
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/data/Pager/Pager.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
align-items: center;
justify-content: center;

svg {
height: 20px;
width: 20px;
}

.page {
padding: 0 var(--spacing-sm);

Expand All @@ -17,12 +22,7 @@
align-items: center;
}

svg {
height: 20px;
width: 20px;
}

.items {
.pagerDisplayItems {
color: var(--gray-100);
margin-right: var(--spacing-sm);
}
2 changes: 1 addition & 1 deletion src/data/Pager/Pager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const Pager: FC<PagerProps> = ({
return (
<div className={classNames(css.pager, className)}>
{(displayMode === 'items' || displayMode === 'all') && (
<div className={css.items}>
<div className={css.pagerDisplayItems}>
{pageCount === 1 && total > 0 && (
<Text>
Showing {total === 1 ? total : `all ${total.toLocaleString()}`}{' '}
Expand Down

0 comments on commit c886963

Please sign in to comment.