fix: Added wrap for overflowing editor content (#35262)
## Description Horizontal scroll was not enabled in JS object side by side view. To fix the content overflowing issue, this PR added word wrap by limiting the width of the editor. Fixes #35240 ## Automation /ok-to-test tags="@tag.All" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/10143519420> > Commit: ce0fcc909397544a013a46c3ff71ca8762e2ace5 > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10143519420&attempt=2" target="_blank">Cypress dashboard</a>. > Tags: `@tag.All` > Spec: > <hr>Mon, 29 Jul 2024 13:03:04 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Enhancements** - Improved the layout of the JSEditor component for better responsiveness and alignment by ensuring it takes the full width of its container. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
parent
7b1882430c
commit
7146bdc175
|
|
@ -369,7 +369,7 @@ function JSEditorForm({
|
|||
</StyledNotificationWrapper>
|
||||
)}
|
||||
<Wrapper>
|
||||
<div className="flex flex-1">
|
||||
<div className="flex flex-1 w-full">
|
||||
<SecondaryWrapper>
|
||||
<TabbedViewContainer isExecuting={isExecutingCurrentJSAction}>
|
||||
<Tabs
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user