Done! The review markdown section now has a max height of 40vh with scroll. All checks passed. (#1130)

The changes add:
- Max height cap at 40% of viewport
- Vertical scrolling when content exceeds the limit
- Visual container with border and background to indicate scrollable content
- Word breaking to prevent layout issues with long strings
This commit is contained in:
Louis Knight-Webb
2025-10-29 22:22:45 +00:00
committed by GitHub
parent ab07116ee8
commit 65a35446b5

View File

@@ -451,8 +451,10 @@ export function TaskFollowUpSection({
{/* Review comments preview */} {/* Review comments preview */}
{reviewMarkdown && ( {reviewMarkdown && (
<div className="text-sm mb-4"> <div className="mb-4">
<div className="whitespace-pre-wrap">{reviewMarkdown}</div> <div className="text-sm whitespace-pre-wrap break-words max-h-[40vh] overflow-y-auto rounded-md border bg-muted p-3">
{reviewMarkdown}
</div>
</div> </div>
)} )}