fix: constrain session disabled banner width to max-w-content

This commit is contained in:
weishu
2025-12-24 17:56:37 +08:00
parent eee4489b0f
commit 2b3fa635f6
+4 -2
View File
@@ -137,8 +137,10 @@ export function SessionChat(props: {
/>
{controlsDisabled ? (
<div className="bg-[var(--app-subtle-bg)] p-3 text-sm text-[var(--app-hint)]">
Session is inactive. Controls are disabled.
<div className="px-3 pt-3">
<div className="mx-auto w-full max-w-content rounded-md bg-[var(--app-subtle-bg)] p-3 text-sm text-[var(--app-hint)]">
Session is inactive. Controls are disabled.
</div>
</div>
) : null}