Skip to content

Fix #232: updated Help and Quiz modals to scale properly with internal scrolling#332

Open
shubh0284 wants to merge 2 commits into
oss-slu:mainfrom
shubh0284:main
Open

Fix #232: updated Help and Quiz modals to scale properly with internal scrolling#332
shubh0284 wants to merge 2 commits into
oss-slu:mainfrom
shubh0284:main

Conversation

@shubh0284
Copy link
Copy Markdown

@shubh0284 shubh0284 commented Mar 30, 2026

Pull Request Summary

Closes #232

This PR addresses the issue where the Help and Quiz modals were exceeding the viewport height on smaller screens, making the close button inaccessible.

What does it add?

  • Responsive scaling for modals.
  • Internal scrollbars for long content.

Why is it necessary?
To ensure the application is accessible on mobile devices and smaller browser windows as per the project's goal.

How was it tested?
Tested locally by resizing the browser window to various aspect ratios and confirming that the "Close Guide" button remains visible and the text is scrollable.

PR Checklist

  • Project builds and runs
  • Tests and linters pass
  • Any related documentation has been updated

Copy link
Copy Markdown
Collaborator

@leandrumartin leandrumartin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The result looks good when I run the code and view the site. But there are also a lot of other changes in here to things like spacing and comments that aren't immediately relevant—it looks like it might be from an automatic linter. I'm wary of merging this because it this many changed lines could lead to merge conflicts in the future. Can you cut this down to just the essential changes required to resolve the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Modals do not scale well, and not all buttons may be visible

2 participants