Skip to content

[Global] Prevent AI drawer from overflowing browser width #3618

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

finnar-bin
Copy link
Contributor

Make sure that the AI drawer doesn't overflow the browser width when opened on the launchpad and the content app dashboard
Resolves #3577

Launchpad---Zesty-io---zesty-pw---Manager.1.webm

@finnar-bin finnar-bin self-assigned this Jun 25, 2025
@finnar-bin finnar-bin added bug Something isn't working ready PR is complete and ready for deployment labels Jun 25, 2025
Copy link
Contributor

@Copilot 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 ensures the AI drawer’s DataGridPro components don’t overflow the browser width by wrapping them in AutoSizer containers and applying responsive sizing.

  • Wraps DataGridPro in an AutoSizer and Box wrapper in the ResourceTable component
  • Adds dynamic width/height styling for DataGridPro in both ResourceTable and ItemsTable, replacing fixed-height containers

Reviewed Changes

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

File Description
src/apps/home/app/components/ResourceTable.tsx Wrapped DataGridPro in AutoSizer and <Box> with dynamic width/height styling
src/apps/content-editor/src/app/views/Analytics/.../ItemsTable.tsx Replaced fixed-height <Box> with AutoSizer, applied dynamic width and fixed height

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready PR is complete and ready for deployment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Global - AI editor drawer overflows the browser width when opened on the launchpad
2 participants