Prevent margin from displacing content out of the viewport. - #13153
Prevent margin from displacing content out of the viewport.#13153Perritu wants to merge 2 commits into
Conversation
Prevent code block from expanding the chat webview beyond it's horizontal limits by setting thread message div width to 100vw.
|
All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
|
In my opinion Additionally, I believe this approach has another flaw: inline padding appears to accumulate (see the linked issues), which causes the inset area to be offset twice. |
Remove width: 100vw from thread messages and apply w-screen to the main container to fix chat layout rendering.
Agreed. |
Prevent code block from expanding the chat webview beyond it's horizontal limits by setting thread message div width to 100vw.
Solves #13056 #13055
Description
Added a css property to force the thread message block to match the viewport witdth.
AI Code Review
Checklist
Screen recording or screenshot
After:
Before:
Tests