Skip to content

Commit

Permalink
fix: add overflow handling
Browse files Browse the repository at this point in the history
  • Loading branch information
varshamenon4 committed Sep 3, 2024
1 parent f90c6aa commit 68e0218
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pages/ExamsPage/components/AllowanceListActions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ const EditModal = (isOpen, close, allowance, formatMessage) => {
isOpen={isOpen}
onClose={onClose}
variant="default"
isOverflowVisible={false}
hasCloseButton
isFullscreenOnMobile
isFullscreenScroll
>
<ModalDialog.Header>
<ModalDialog.Title data-testid="edit-allowance-header">
Expand Down Expand Up @@ -146,8 +148,10 @@ const DeleteModal = (isOpen, onCancel, onDelete, formatMessage) => (
isOpen={isOpen}
onClose={onCancel}
variant="default"
isOverflowVisible={false}
hasCloseButton
isFullscreenOnMobile
isFullscreenScroll
>
<ModalDialog.Header>
<ModalDialog.Title>
Expand Down
2 changes: 2 additions & 0 deletions src/pages/ExamsPage/components/ResetExamAttemptModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ const ResetExamAttemptModal = ({ username, examName, attemptId }) => {
onClose={close}
size="lg"
variant="default"
isOverflowVisible={false}
hasCloseButton
isFullscreenOnMobile
isFullscreenScroll
>
<ModalDialog.Header>
<ModalDialog.Title>
Expand Down
2 changes: 2 additions & 0 deletions src/pages/ExamsPage/components/ReviewExamAttemptModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,10 @@ const ReviewExamAttemptModal = ({
onClose={close}
size="lg"
variant="default"
isOverflowVisible={false}
hasCloseButton
isFullscreenOnMobile
isFullscreenScroll
>
<ModalDialog.Header>
<ModalDialog.Title>
Expand Down

0 comments on commit 68e0218

Please sign in to comment.