style: reply content scroll area

This commit is contained in:
codytseng
2025-04-08 15:26:07 +08:00
parent f697421c1b
commit 1a38fa7ca9

View File

@@ -117,7 +117,7 @@ export default function NormalPostContent({
return ( return (
<div className="space-y-4"> <div className="space-y-4">
{parentEvent && ( {parentEvent && (
<ScrollArea className="max-h-48 rounded-lg border bg-muted/40 overflow-y-auto"> <ScrollArea className="flex max-h-48 flex-col overflow-y-auto rounded-lg border bg-muted/40">
<div className="p-2 sm:p-3 pointer-events-none"> <div className="p-2 sm:p-3 pointer-events-none">
<Note size="small" event={parentEvent} hideStats hideParentNotePreview /> <Note size="small" event={parentEvent} hideStats hideParentNotePreview />
</div> </div>