From 85b95adb9fdd37c0a8153d05f57a302a499f86de Mon Sep 17 00:00:00 2001 From: Isaac Lee <124631592+ilee2u@users.noreply.github.com> Date: Tue, 2 Apr 2024 13:14:05 -0400 Subject: [PATCH] fix: modal iframe height to 100% (#1341) --- src/courseware/course/sequence/Unit/hooks/useModalIFrameData.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/courseware/course/sequence/Unit/hooks/useModalIFrameData.js b/src/courseware/course/sequence/Unit/hooks/useModalIFrameData.js index ccb0fb59e0..513b0b7636 100644 --- a/src/courseware/course/sequence/Unit/hooks/useModalIFrameData.js +++ b/src/courseware/course/sequence/Unit/hooks/useModalIFrameData.js @@ -9,7 +9,7 @@ export const stateKeys = StrictDict({ options: 'options', }); -export const DEFAULT_HEIGHT = '100vh'; +export const DEFAULT_HEIGHT = '100%'; const useModalIFrameData = () => { const [isOpen, setIsOpen] = useKeyedState(stateKeys.isOpen, false);