fix: refine session report and live activity layout

This commit is contained in:
2026-07-24 00:21:36 +02:00
parent 6ca4275ff2
commit 18233d59af
6 changed files with 40 additions and 6 deletions
@@ -54,6 +54,10 @@ test("uses the activity-only Markdown wrapping renderer for long content", () =>
const renderers = document.querySelectorAll(".thot-activity-prose");
expect(renderers).toHaveLength(3);
expect(renderers[0]).toHaveClass("thot-prose");
for (const renderer of renderers) {
expect(renderer).toHaveClass("min-w-0", "w-full", "max-w-none");
expect(renderer).not.toHaveClass("max-w-[74ch]");
}
expect(renderers[1].querySelector("code")).not.toBeNull();
expect(renderers[2].querySelector("td")).not.toBeNull();
expect(renderers[2].querySelector("pre")).not.toBeNull();