fix: align activity indicator with composer input width

Wrap ActivityIndicator in the same mx-auto max-w-3xl container as the
text input so the "Analyzing…" label and Stop button stay within the
input's boundaries instead of spanning the full window width.
This commit is contained in:
Haileyesus
2026-06-30 01:31:51 +03:00
parent 5798246135
commit eed37b51d4
2 changed files with 5 additions and 3 deletions

View File

@@ -199,7 +199,9 @@ export default function ChatComposer({
return (
<div className="chat-composer-shell flex-shrink-0 px-2 pb-2 pt-0 sm:px-4 sm:pb-4 md:px-4 md:pb-6">
{!hasPendingPermissions && (
<ActivityIndicator activity={activity} onAbort={onAbortSession} />
<div className="mx-auto max-w-3xl">
<ActivityIndicator activity={activity} onAbort={onAbortSession} />
</div>
)}
{pendingPermissionRequests.length > 0 && (