Skip to content

Commit

Permalink
style: fix modal size with large number of exams (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharis278 authored Aug 30, 2024
1 parent d478eae commit f90c6aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/pages/ExamsPage/components/AddAllowanceModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,10 @@ const AddAllowanceModal = ({ isOpen, close }) => {
isOpen={isOpen}
onClose={onClose}
size="md"
isOverflowVisible={false}
hasCloseButton
isFullscreenOnMobile
isFullscreenScroll
>
<ModalDialog.Header>
<ModalDialog.Title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ exports[`AddAllowanceModal should match snapshot 1`] = `
/>
<div
aria-label="Add a new allowance"
class="pgn__modal pgn__modal-md pgn__modal-default pgn__modal-visible-overflow"
class="pgn__modal pgn__modal-md pgn__modal-default pgn__modal-scroll-fullscreen"
role="dialog"
>
<div
Expand Down

0 comments on commit f90c6aa

Please sign in to comment.