File tree Expand file tree Collapse file tree 2 files changed +17
-16
lines changed Expand file tree Collapse file tree 2 files changed +17
-16
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ const CelebrationModal = ({
3636 < StandardModal
3737 footerNode = { (
3838 < ActionRow isStacked className = "pb-2" >
39- < Button className = "btn-primary" onClick = { onClose } > { intl . formatMessage ( messages . forward ) } </ Button >
39+ < Button className = "btn-primary" onClick = { onClose } > { intl . formatMessage ( messages . forward ) } </ Button >
4040 </ ActionRow >
4141 ) }
4242 hasCloseButton = { false }
Original file line number Diff line number Diff line change @@ -75,29 +75,30 @@ const ContentIFrame = ({
7575 < iframe title = { title } { ...contentIFrameProps } data-testid = { testIDs . contentIFrame } />
7676 </ div >
7777 ) }
78- { modalOptions . isOpen &&
79- ( < ModalDialog
78+ { modalOptions . isOpen
79+ && (
80+ < ModalDialog
8081 dialogClassName = "modal-lti"
8182 onClose = { handleModalClose }
82- size = { modalOptions . isFullscreen ? 'fullscreen' : 'md' }
83+ size = { modalOptions . isFullscreen ? 'fullscreen' : 'md' }
8384 isOpen
8485 hasCloseButton = { false }
8586 >
8687 < ModalDialog . Body className = { modalOptions . modalBodyClassName } >
87- { modalOptions . body
88- ? < div className = "unit-modal" > { modalOptions . body } </ div >
89- : (
90- < iframe
91- title = { modalOptions . title }
92- allow = { IFRAME_FEATURE_POLICY }
93- frameBorder = "0"
94- src = { modalOptions . url }
95- style = { { width : '100%' , height : modalOptions . height } }
96- />
97- ) }
88+ { modalOptions . body
89+ ? < div className = "unit-modal" > { modalOptions . body } </ div >
90+ : (
91+ < iframe
92+ title = { modalOptions . title }
93+ allow = { IFRAME_FEATURE_POLICY }
94+ frameBorder = "0"
95+ src = { modalOptions . url }
96+ style = { { width : '100%' , height : modalOptions . height } }
97+ />
98+ ) }
9899 </ ModalDialog . Body >
99100 </ ModalDialog >
100- ) }
101+ ) }
101102 </ >
102103 ) ;
103104} ;
You can’t perform that action at this time.
0 commit comments