Skip to content

fix: adjust modal to full viewport layout#54

Merged
djoseph-apphelix merged 2 commits intorelease-ulmofrom
fix/TNL2-471
Dec 19, 2025
Merged

fix: adjust modal to full viewport layout#54
djoseph-apphelix merged 2 commits intorelease-ulmofrom
fix/TNL2-471

Conversation

@djoseph-apphelix
Copy link
Member

@djoseph-apphelix djoseph-apphelix commented Dec 19, 2025

Description

  • This PR updates modal components to use full-viewport layouts by modifying CSS rules for selection modals and TinyMCE editor containers. The goal is to maximize the available screen space for content within modals (text, problem, video, and games XBlock).
fullscreen.mp4

Jira

Copilot AI review requested due to automatic review settings December 19, 2025 07:29
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts modal components to use full viewport layouts by modifying CSS rules for selection modals and TinyMCE editor containers. The changes aim to maximize the available screen space for content within modals.

  • Adds full viewport height and width styles to selection modals
  • Adjusts TinyMCE editor height to fit within the viewport using calculated values
  • Modifies modal backdrop positioning

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
src/editors/sharedComponents/SelectionModal/index.scss Adds full viewport sizing rules for xl-default modals and adjusts modal backdrop positioning
src/editors/containers/ProblemEditor/components/EditProblemView/index.scss Sets TinyMCE editor height to fill viewport with hardcoded offset calculation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@djoseph-apphelix djoseph-apphelix merged commit 5e9a48c into release-ulmo Dec 19, 2025
10 checks passed
@viv-helix viv-helix deleted the fix/TNL2-471 branch January 21, 2026 13:05
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.

3 participants