You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The review note textarea was extending horizontally beyond the visible
viewport because it was inheriting the width of the scrollable content
area (which expands for long diff lines) rather than the visible
scrollport width.
Solution:
Use position: sticky with left: 0 and width: 100% to remove the
InlineNoteContainer from the grid flow. This constrains it to the
visible scrollport width while keeping it visually positioned below
the selected lines.
Changes:
- InlineNoteContainer: Added position: sticky, left: 0, width: 100%
- NoteTextarea: Added overflow-y: auto, white-space: pre-wrap,
word-wrap: break-word, box-sizing: border-box
Result:
Text in the review note input wraps within the visible viewport
boundaries. Long diff lines can still scroll horizontally, but the
textarea respects the visible container width.
0 commit comments