refactor(webui): derive footer spacing from thread tail

This commit is contained in:
chengyongru authored and chengyongru committed 2026-09-20 11:47:27 +08:00
1 parent 900675e7f8
commit 0f3cabb16d
4 files changed
+23 -20

No files matched your search

+2 -2
View File
@@ -868,7 +868,7 @@ describe("MessageBubble", () => {
expect(visibleFooter).toHaveClass("mt-2", "min-h-8", "opacity-100");
});
it("omits hidden footer space for an intermediate assistant answer", () => {
it("omits footer space when an active answer is no longer the tail", () => {
const message: UIMessage = {
id: "a-intermediate",
role: "assistant",
@@ -880,7 +880,7 @@ describe("MessageBubble", () => {
<MessageBubble
message={message}
isTurnStreaming
isTerminalAssistantSlice={false}
isThreadTail={false}
/>,
);