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:
committed by
GitHub
parent
ab07116ee8
commit
65a35446b5
@@ -451,8 +451,10 @@ export function TaskFollowUpSection({
|
||||
|
||||
{/* Review comments preview */}
|
||||
{reviewMarkdown && (
|
||||
<div className="text-sm mb-4">
|
||||
<div className="whitespace-pre-wrap">{reviewMarkdown}</div>
|
||||
<div className="mb-4">
|
||||
<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>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user