Skip to content

Commit 724039c

Browse files
Faraz32123Muhammad Faraz  Maqsood
andauthored
fix: modal size for lti content (#12)
- 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. Co-authored-by: Muhammad Faraz Maqsood <faraz.maqsood@A006-01130.local>
1 parent e82132d commit 724039c

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
@@ -78,7 +78,7 @@ const ContentIFrame = ({
7878
{modalOptions.isOpen
7979
&& (
8080
<ModalDialog
81-
dialogClassName="modal-lti"
81+
className="modal-lti"
8282
onClose={handleModalClose}
8383
size={modalOptions.isFullscreen ? 'fullscreen' : 'md'}
8484
isOpen

0 commit comments

Comments
 (0)