Skip to content

Commit 469af04

Browse files
committed
fix(web): center the empty-thread placeholder above the composer
1 parent bed9239 commit 469af04

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎apps/web/src/components/chat/MessagesTimeline.tsx‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1585,7 +1585,10 @@ const ConversationTimeline = memo(function ConversationTimeline({
15851585
return <div className="h-full min-h-0 bg-background" data-timeline-loading="true" />;
15861586
}
15871587
return (
1588-
<div className="flex h-full items-center justify-center">
1588+
<div
1589+
className="flex h-full items-center justify-center ps-(--chat-lane-inset-start) pe-(--chat-lane-inset-end)"
1590+
style={{ paddingBottom: contentInsetEndAdjustment }}
1591+
>
15891592
<p className="text-sm text-muted-foreground/30">
15901593
Send a message to start the conversation.
15911594
</p>

0 commit comments

Comments
 (0)