mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-21 10:16:44 +00:00
fix: align run error on mobile
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user