Skip to content

Commit

Permalink
Adding pagination styles back in?
Browse files Browse the repository at this point in the history
  • Loading branch information
7emansell committed Feb 13, 2025
1 parent 6cda5c6 commit 188fdf1
Showing 1 changed file with 25 additions and 9 deletions.
34 changes: 25 additions & 9 deletions app/src/components/search/filters/selectFilterModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ const SelectFilterModal = forwardRef<
border: "1px solid",
borderColor: "ui.border.hover",
padding: "s",
height: "390px",
}}
>
<RadioGroup
Expand Down Expand Up @@ -173,17 +174,39 @@ const SelectFilterModal = forwardRef<
id="filter-pagination-id"
currentPage={currentPage}
initialPage={1}
pageCount={pageCount || 1}
onPageChange={(page) => setCurrentPage(page)}
pageCount={pageCount}
onPageChange={(page) => {
setCurrentPage(page);
}}
sx={{
paddingTop: "m",
justifyContent: "center",
svg: {
_visited: {
_disabled: { fill: "ui.disabled.primary !important" },
},
},

a: {
_disabled: {
color: "ui.disabled.primary",
pointerEvents: "none",
svg: { fill: "ui.disabled.primary !important" },
},
},
}}
/>
</Flex>
</ModalBody>

<ButtonGroup padding="m" marginX="auto">
<Button
buttonType="secondary"
onClick={handleClose}
id="close-button"
>
Close
</Button>
<Button
id="confirm-button"
onClick={() => {
Expand All @@ -197,13 +220,6 @@ const SelectFilterModal = forwardRef<
>
Confirm
</Button>
<Button
buttonType="secondary"
onClick={handleClose}
id="close-button"
>
Close
</Button>
</ButtonGroup>
</ModalContent>
</Modal>
Expand Down

0 comments on commit 188fdf1

Please sign in to comment.