Add padding around user messages, fix "Stop" button position

This commit is contained in:
Alex Gleason committed 2025-08-24 22:06:17 -05:00
1 parent 4253f57ed8
commit 4555565753
3 files changed
+26 -22

No files matched your search

+8 -6
View File
@@ -392,8 +392,14 @@ BASE_DOMAIN=nostrdeploy.com`);
/>
) : (
<div key="streaming-loading" className="flex">
<div className="flex-1 min-w-0">
<div className="flex justify-end mb-2">
<div className="flex-1 min-w-0 relative">
<div className="text-sm space-y-2">
<Skeleton className="h-4 w-full" />
<Skeleton className="h-4 w-3/4" />
</div>
{/* Stop button positioned absolutely to match AIMessageItem */}
<div className="absolute -top-8 right-0">
<Button
variant="outline"
size="sm"
@@ -404,10 +410,6 @@ BASE_DOMAIN=nostrdeploy.com`);
Stop
</Button>
</div>
<div className="text-sm space-y-2">
<Skeleton className="h-4 w-full" />
<Skeleton className="h-4 w-3/4" />
</div>
</div>
</div>
)