mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-29 06:50:43 +01:00
fix(ui): refine mobile task surfaces (#13122)
This commit is contained in:
1 parent
5488a79eb5
commit
2d45f42e47
21 files changed
+362
-67
No files matched your search
@@ -363,7 +363,7 @@ describe("TaskChatThread draft pass-through", () => {
|
||||
expect(scroller?.firstElementChild?.classList).toContain("pt-3");
|
||||
});
|
||||
|
||||
it("keeps the composer dock aligned with the thread's horizontal padding", () => {
|
||||
it("lets the mobile composer dock use the full thread width", () => {
|
||||
render(
|
||||
<TaskChatThread
|
||||
comments={[
|
||||
@@ -393,7 +393,8 @@ describe("TaskChatThread draft pass-through", () => {
|
||||
);
|
||||
expect(thread?.classList).not.toContain("h-(--tc-thread-max-h)");
|
||||
expect(thread?.classList).toContain("flex-1");
|
||||
expect(dock?.classList).toContain("px-4");
|
||||
expect(dock?.classList).toContain("px-2");
|
||||
expect(dock?.classList).toContain("md:px-0");
|
||||
expect(dock?.classList).not.toContain("px-1");
|
||||
expect(dock?.classList).not.toContain("-mt-(--radius-task-composer)");
|
||||
expect(dock?.classList).not.toContain("pt-1");
|
||||
@@ -1834,8 +1835,8 @@ describe("TaskChatThread composer alignment", () => {
|
||||
expect(dock?.classList).not.toContain("-mt-(--radius-task-composer)");
|
||||
expect(composer?.classList).not.toContain("border");
|
||||
expect(composer?.classList).toContain("bg-card");
|
||||
expect(send?.classList).toContain("rounded-md");
|
||||
expect(send?.classList).not.toContain("rounded-full");
|
||||
expect(send?.classList).toContain("rounded-full");
|
||||
expect(send?.classList).not.toContain("rounded-md");
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user