Skip to content

Commit b54dff3

Browse files
Muhammad Faraz  MaqsoodMuhammad Faraz  Maqsood
authored andcommitted
fix: modal size for lti content
- dialogClassName was working with Modal from paragon, but after paragon v23 upgrade. We replaced Modal with ModalDialog with which dialogClassName doesn't work. - So, replace dialogClassName with simple className to apply same styles.
1 parent d5140a6 commit b54dff3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/courseware/course/sequence/Unit/ContentIFrame.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const ContentIFrame = ({
7676
{modalOptions.isOpen
7777
&& (
7878
<ModalDialog
79-
dialogClassName="modal-lti"
79+
className="modal-lti"
8080
onClose={handleModalClose}
8181
size={modalOptions.isFullscreen ? 'fullscreen' : 'md'}
8282
isOpen

0 commit comments

Comments
 (0)