feat: improve mobile draft session layout

Keeps the welcome prompt centered on mobile
Moves the draft composer back to the bottom on mobile
Preserves the desktop draft layout
This commit is contained in:
Bohdan Triapitsyn
2026-05-27 23:36:26 +03:00
parent 8d7b75106e
commit 5331c4d962
2 changed files with 32 additions and 3 deletions
@@ -3787,7 +3787,7 @@ const ChatInputComponent: React.FC<ChatInputProps> = ({ onOpenSettings, scrollTo
)}
style={isMobile && inputBarOffset > 0 ? { marginBottom: `${inputBarOffset}px` } : undefined}
>
{newSessionDraftOpen && !isDesktopExpanded ? (
{newSessionDraftOpen && !isDesktopExpanded && !isMobile ? (
<div className="chat-input-column mb-7 text-center">
<h1 className="text-balance text-2xl font-medium tracking-tight text-foreground md:text-3xl">
{draftProjectLabel