fix: Constrain drag preview image sizes and fix ghost rendering#2777
fix: Constrain drag preview image sizes and fix ghost rendering#2777mkcash wants to merge 1 commit into
Conversation
- Limits image blocks in drag preview to 200x150px with object-fit:contain - Prevents oversized drag ghosts for image blocks - Adds proper cleanup of drag preview element Fixes TypeCellOS#2609
|
Someone is attempting to deploy a commit to the TypeCell Team on Vercel. A member of the Team first needs to authorize it. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR constrains drag preview images by applying inline styles to ChangesDrag Preview Image Sizing
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Fix oversized drag ghosts in image blocks and ensure proper cleanup after drag.
Summary by CodeRabbit