Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

feat(conversations): tint customer message bubbles in ticket view (#72826)

Vojta Bartoš52ed57ffe4b1
diff --git a/products/conversations/frontend/components/Chat/Message.tsx b/products/conversations/frontend/components/Chat/Message.tsx
index 0c62855af073..b9a8769efb22 100644
--- a/products/conversations/frontend/components/Chat/Message.tsx
+++ b/products/conversations/frontend/components/Chat/Message.tsx
@@ -91,7 +91,11 @@ export function Message({
<div className="max-w-full min-w-80">
<div
className={`border py-2 px-3 rounded-lg ${
- isPrivate ? 'bg-warning-highlight border-warning' : 'bg-surface-primary'
+ isPrivate
+ ? 'bg-warning-highlight border-warning'
+ : isCustomer
+ ? 'bg-surface-secondary'
+ : 'bg-surface-primary'
} [&_img]:max-h-64 [&_.SupportEditor__image]:max-h-64`}
>
{isPrivate && (