Rizz
2026-08-25 16:19:30 -07:00
parent 20f32f5a4b
commit a0da52a076
2 changed files with 6 additions and 1 deletions

View File

@@ -151,7 +151,7 @@ export function CompactMessageSummary({
? "text-xs leading-4"
: "text-sm leading-relaxed",
shouldClampBubble && "relative max-h-36 overflow-hidden",
isConversation && "relative",
isConversation && "relative pr-4",
canOpenMessage &&
"group/bubble cursor-pointer transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
isCompactPreview

View File

@@ -399,6 +399,11 @@ test("the same relay post outside a work block keeps its message bubble", async
"outside a block a posted message is a destination the reader can open — the bubble stays",
);
assert.match(bubble.className, /relative/);
assert.match(
bubble.className,
/pr-4/,
"focus-mode agent sends keep a full 16px inset on the right",
);
assert.doesNotMatch(
bubble.className,
/max-h-36/,