Skip to content

Fix: Prevent text overflow in confirm delete dialog - #16689

Merged
wangq8 merged 2 commits into
infiniflow:mainfrom
dcc123456:fix/overflow-dialog
Jul 7, 2026
Merged

wangq8 merged 2 commits into
infiniflow:mainfrom
dcc123456:fix/overflow-dialog

Conversation

@dcc123456

Copy link
Copy Markdown
Collaborator

Summary

Fix: Prevent text overflow in confirm delete dialog

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jul 7, 2026
@coderabbitai

coderabbitai Bot commented Jul 7, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 783ed56b-89d8-43d3-a22e-8f93467feb1b

📥 Commits

Reviewing files that changed from the base of the PR and between 3660b98 and f1dedbd.

📒 Files selected for processing (1)
  • web/src/components/confirm-delete-dialog.tsx

📝 Walkthrough

Walkthrough

A single utility class, overflow-wrap:anywhere, was added to the content container div in the ConfirmDeleteDialog component, altering how long unbroken text wraps within the dialog.

Changes

Dialog styling

Layer / File(s) Summary
Content wrapper overflow-wrap update
web/src/components/confirm-delete-dialog.tsx
Adds overflow-wrap:anywhere to the main content container's class list, changing text wrapping for long unbroken content.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Poem

A single class, so small and neat,
Makes long words wrap and stay petite. 🐇
No more text spilling past the door,
Just tidy dialogs, nothing more!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly matches the change: preventing text overflow in the confirm delete dialog.
Description check ✅ Passed The description includes the required Summary section and accurately describes the UI fix.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@wangq8 wangq8 added the ci Continue Integration label Jul 7, 2026
@wangq8
wangq8 merged commit f082675 into infiniflow:main Jul 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants