Skip to content

Commit 85b95ad

Browse files
authored
fix: modal iframe height to 100% (openedx#1341)
1 parent d4e7b41 commit 85b95ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/courseware/course/sequence/Unit/hooks/useModalIFrameData.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const stateKeys = StrictDict({
99
options: 'options',
1010
});
1111

12-
export const DEFAULT_HEIGHT = '100vh';
12+
export const DEFAULT_HEIGHT = '100%';
1313

1414
const useModalIFrameData = () => {
1515
const [isOpen, setIsOpen] = useKeyedState(stateKeys.isOpen, false);

0 commit comments

Comments
 (0)