Skip to content

Conversation

ammar-agent
Copy link
Collaborator

@ammar-agent ammar-agent commented Oct 21, 2025

The code review note textarea was extending horizontally instead of wrapping text to fit visible boundaries when typing long lines.

Changes

  • NoteTextarea: Added overflow-x: hidden to prevent horizontal scroll
  • NoteTextarea: Added white-space: pre-wrap to wrap long lines
  • NoteTextarea: Added word-wrap: break-word to break long words if needed

Result

Text now wraps within the visible boundaries of the code review panel instead of extending beyond the screen.

Generated with cmux

@ammar-agent ammar-agent reopened this Oct 21, 2025
@ammar-agent ammar-agent changed the title 🤖 Fix diff text wrapping in code review 🤖 Fix code review textarea wrapping Oct 21, 2025

This comment has been minimized.

The review note textarea was extending horizontally beyond visible
boundaries instead of wrapping text to fit the container width.

Changes:
- NoteTextarea: Added max-width: 100% and box-sizing: border-box
- NoteTextarea: Changed overflow-y from hidden to auto for scrolling
- NoteTextarea: Added white-space: pre-wrap to wrap long lines
- NoteTextarea: Added word-wrap: break-word to break long words
- InlineNoteContainer: Added max-width: 100% and overflow: visible

Result:
Text in the review note input wraps within visible boundaries. The
parent container remains scrollable while the textarea itself prevents
horizontal overflow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant