Skip to content
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

Hard-coded maximum size of Chat Component #169

Open
emlynmac opened this issue Apr 22, 2024 · 2 comments
Open

Hard-coded maximum size of Chat Component #169

emlynmac opened this issue Apr 22, 2024 · 2 comments

Comments

@emlynmac
Copy link

From the code here:

The maxWidth of the Chat component is hardcoded to 1056px.

This is causing issues with a 1P customer, and I'd like to understand where this value originates from.

Could this be removed ?

@YuanboXue-Amber
Copy link
Contributor

Hi @emlynmac, all existing styles can be overridden. You can add maxWidth: 'unset' to Chat:
https://stackblitz.com/edit/v7ers1?file=src%2Fexample.tsx

@emlynmac
Copy link
Author

Hi @emlynmac, all existing styles can be overridden. You can add maxWidth: 'unset' to Chat: https://stackblitz.com/edit/v7ers1?file=src%2Fexample.tsx

Yes, and we have; the question is why is this limit in the code to start with?

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

No branches or pull requests

2 participants