[WEB-2513] fix: page container height#5669
Conversation
WalkthroughThe changes in this pull request involve updating the Changes
Possibly related PRs
Suggested labels
Poem
Recent review detailsConfiguration used: CodeRabbit UI Files selected for processing (1)
Additional comments not posted (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
| handleEditorReady={handleEditorReady} | ||
| ref={editorRef} | ||
| containerClassName="p-0 pb-64" | ||
| containerClassName="h-full p-0 pb-64" |
There was a problem hiding this comment.
It should be min-h-screen?
There was a problem hiding this comment.
Not needed as it would add an unnecessary scroll to the container since the editor doesn't always occupy the complete screen height.
Problem:
The pages container height doesn't extend to the complete screen height. Use has to click on a specific area to focus on the page.
Solution:
Added
h-fullclass to Increase the page container height to match the screen height.Media:
Screen.Recording.2024-09-20.at.19.16.41.mov
Screen.Recording.2024-09-20.at.19.14.54.mov
Plane issue: WEB-2513
Summary by CodeRabbit