mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Add padding around user messages, fix "Stop" button position
This commit is contained in:
1 parent
da62b69145
commit
570c7eaead
3 files changed
+26
-22
No files matched your search
@@ -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>
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user