Skip to content

Commit aaf83ee

Browse files
authored
fix(web): center the empty-thread placeholder above the composer (pingdotgg#18331)
1 parent ca728ec commit aaf83ee

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
@@ -1594,7 +1594,10 @@ const ConversationTimeline = memo(function ConversationTimeline({
15941594
return <div className="h-full min-h-0 bg-background" data-timeline-loading="true" />;
15951595
}
15961596
return (
1597-
<div className="flex h-full items-center justify-center">
1597+
<div
1598+
className="flex h-full items-center justify-center ps-(--chat-lane-inset-start) pe-(--chat-lane-inset-end)"
1599+
style={{ paddingBottom: contentInsetEndAdjustment }}
1600+
>
15981601
<p className="text-sm text-muted-foreground/30">
15991602
Send a message to start the conversation.
16001603
</p>

0 commit comments

Comments
 (0)