fix(modal): preserve spacing in workspace delete confirmation label#4929
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryLow Risk Overview The Reviewed by Cursor Bugbot for commit a4a810b. Configure here. |
Greptile SummaryThis PR fixes a display bug where the workspace delete confirmation label rendered as
Confidence Score: 5/5A minimal, focused one-line change that corrects a visual spacing defect in the workspace delete confirmation label with no logic or state implications. The change swaps a React fragment for a No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[ChipConfirmModal] --> B[ChipModalField type=input]
B --> C[Label inline-flex]
C --> D_old["Before: React Fragment <>\nText nodes as direct flex children\n→ whitespace collapsed"]
C --> D_new["After: <span> wrapper\nSingle flex child with inline layout\n→ spaces preserved"]
style D_old fill:#ffcccc,stroke:#cc0000
style D_new fill:#ccffcc,stroke:#009900
Reviews (1): Last reviewed commit: "fix(modal): preserve spacing in workspac..." | Re-trigger Greptile |
Summary
Type<workspace name>to confirmwith no spacesChipModalField'sinline-flex<Label>, which drops whitespace-only text nodes between flex items; wrapping the title in a single<span>keeps the spaces as normal inline contentversion-description-modal.tsxType of Change
Testing
Tested manually
Checklist