style: fix modal size with large number of exams #45
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
COSMO-451
Fixes the overflow with a large number of exams. Scrolling is still a bit rough since you can't scroll the parent window with the pointer over the modal background and need to move it to the side. You'd need to do that if part of the content such as the submit button is below the fold. I plan to follow up with a PR in edx-platform to shorten this iframe so it generally doesn't go beyond screen limits and the only scrolling needed is in the iframe itself (which this PR will now allow).
With just this fix alone:
scrolled to bottom
![Screenshot 2024-08-28 at 1 15 03 PM](https://private-user-images.githubusercontent.com/5661461/362716259-da197b44-daaf-48e0-b891-13fc01ae6142.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NzczNDQsIm5iZiI6MTczOTU3NzA0NCwicGF0aCI6Ii81NjYxNDYxLzM2MjcxNjI1OS1kYTE5N2I0NC1kYWFmLTQ4ZTAtYjg5MS0xM2ZjMDFhZTYxNDIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTRUMjM1MDQ0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjI2NTkyMDE2MWNlMDgwMjI2YzFhMzFiZTMyMzg1OTk0ODI3MDRlOTkzZDU3Mjc1NWJmMGViZTMyNGM2ODk2NCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.KGU-o-ASys3oArPJtNnwpE9nAjhc1VR7KKVaQK2sCbM)