fix scroll and use a warn for nip4 messages

This commit is contained in:
sam committed 2025-10-18 20:18:35 +07:00
1 parent 9e222850ce
commit 9d3ead4428
2 files changed
+84 -67

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ const ScrollArea = React.forwardRef<
className={cn("relative overflow-hidden", className)}
{...props}
>
<ScrollAreaPrimitive.Viewport className="h-full w-full rounded-[inherit]">
<ScrollAreaPrimitive.Viewport className="h-full w-full rounded-[inherit] [&>div]:!block [&>div]:!w-full">
{children}
</ScrollAreaPrimitive.Viewport>
<ScrollBar />