feat: add max-width constraint for large screen layout #10688
+9
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related GitHub Issue
Closes: #10687
Description
This PR attempts to address Issue #10687 by adding a max-width constraint for large screen layouts in editor/tab mode.
Implementation Details:
App.tsxthat appliesmax-width: 896pxwith centered content (mx-auto)renderContext === "editor"(tab mode), leaving the sidebar layout unchangedKey design choices:
max-w-[896px] mx-auto) for consistency with the existing codebaseTest Procedure
Automated Testing:
tsc --noEmit)eslint)Pre-Submission Checklist
Screenshots / Videos
No screenshots available in this automated environment, but the visual change should show:
Documentation Updates
Additional Notes
This is an automated PR attempt. Feedback and guidance are welcome!
Important
Adds a max-width constraint of 896px for large screen layouts in editor/tab mode in
App.tsx, using Tailwind CSS for consistency.divinApp.tsxwithmax-width: 896pxand centered content (mx-auto) for large screens in editor/tab mode.renderContext === "editor", leaving sidebar layout unchanged.max-w-[896px] mx-auto) for consistency.Appcomponent level.tsc --noEmit), linting (eslint), andApp.spec.tsxtests (7/7).This description was created by
for ba7aa82. You can customize this summary. It will automatically update as commits are pushed.