fix(client): normalize compact composer edge spacing - #175
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Experience Review
Before merge, make sure the PR body contains this completed checklist:
## Experience Review
- [x] 已判断是否需要沉淀经验
- [x] 如需要,已运行 `$post-task-experience-review`
- [x] reviewer PASS 后才进入 mergeChecklist to confirm:
- Decide whether this PR produced reusable project experience.
- If experience should be captured, run
$post-task-experience-review. - Merge only after the independent reviewer reports PASS.
NWYLZW
force-pushed
the
codex/fix-compact-composer-padding
branch
from
July 28, 2026 16:44
c333bb8 to
83affec
Compare
NWYLZW
force-pushed
the
codex/fix-compact-composer-padding
branch
from
July 28, 2026 16:47
83affec to
d6c3bde
Compare
NWYLZW
force-pushed
the
codex/fix-compact-composer-padding
branch
from
July 28, 2026 16:57
d6c3bde to
a5ff780
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What changed
Why
Compact layouts used a local 6px override, while medium desktop windows with an expanded sidebar accumulated 24px wrapper padding plus 10px frame padding. This produced inconsistent edge spacing across responsive states.
Impact
New-session, automation, and plugin starter layouts now consistently use shared 10px surface spacing. Wide layouts retain the centered 800px maximum width.
Screenshot
Validation
pnpm exec vitest run --workspace vitest.workspace.ts apps/client/__tests__/composer-landing.spec.tsxpnpm dprint check apps/client/src/routes/ChatRoute.scss apps/client/src/components/composer-landing/ComposerStarterLayout.scss apps/client/__tests__/composer-landing.spec.tsxExperience Review
$post-task-experience-reviewExperience result:
MERGED_WITH_EXISTING_RULE— OW-DM-001 shared 10px spacing and single-boundary ownership.