[WIKI-622] fix: update space work item description styles#7686
[WIKI-622] fix: update space work item description styles#7686sriramveeraghanta merged 1 commit intopreviewfrom
Conversation
WalkthroughSimplified the RichTextEditor’s editorClassName styles by removing border, max-height, rounding, and left padding, while keeping minimum height, vertical padding, and overflow-hidden. No exports or public APIs changed. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested labels
Suggested reviewers
Poem
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Pull Request Overview
This PR fixes the read-only RichEditor for work item descriptions by simplifying the editor styling to remove unnecessary visual elements and constraints.
- Removes border, border radius, padding, and height constraints from the editor
- Retains minimum height and essential overflow/padding properties
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
Pull Request Linked with Plane Work Items Comment Automatically Generated by Plane |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
apps/space/core/components/editor/rich-text-editor.tsx (1)
61-61: Avoid clipping editor popovers/selection UI by making overflow conditional
overflow-hiddencan clip mention/slash menus, tooltips, and selection UI in editable mode. It’s safer to hide overflow only when needed and keep it visible for read-only.Apply:
- editorClassName="min-h-[100px] py-2 overflow-hidden" + editorClassName={`min-h-[100px] py-2 ${editable ? "overflow-hidden" : "overflow-visible"}`}Please verify:
- Mentions/slash menu and link tooltips aren’t clipped in editable mode.
- Long descriptions and code blocks render fully in read-only without cutoffs.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
💡 Knowledge Base configuration:
- MCP integration is disabled by default for public repositories
- Jira integration is disabled by default for public repositories
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (1)
apps/space/core/components/editor/rich-text-editor.tsx(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: Build and lint web apps
- GitHub Check: Analyze (javascript)
Description
Fix Read-Only RichEditor Editor for work item description
Type of Change
Screenshots and Media (if applicable)
Test Scenarios
References
Summary by CodeRabbit