fix: align run error on mobile

This commit is contained in:
Shakker
2026-07-19 18:07:12 +01:00
committed by Shakker
parent 0d511d1a67
commit 9dd021a5cc
2 changed files with 12 additions and 2 deletions
+7 -2
View File
@@ -2141,11 +2141,16 @@ describeControlUiE2e("Control UI mocked Gateway E2E", () => {
}
});
it("keeps streamed text visible when a chat error terminates the turn", async () => {
it.each([
{ label: "desktop", viewport: { height: 900, width: 1280 } },
{ label: "mobile", viewport: { height: 844, width: 390 } },
])("keeps streamed text visible when a chat error terminates the turn on $label", async ({
viewport,
}) => {
const context = await newBrowserContext({
locale: "en-US",
serviceWorkers: "block",
viewport: { height: 900, width: 1280 },
viewport,
});
const page = await context.newPage();
const gateway = await installMockGateway(page);
+5
View File
@@ -4183,6 +4183,11 @@ openclaw-chat-page {
gap: 6px;
}
.chat-run-error {
width: calc(100% - 8px);
margin: 6px 4px 0;
}
.agent-chat__composer-shell:has(.agent-chat__composer-combobox > :is(textarea, input):focus) {
margin-bottom: 0;
}