feat: widen chat content area
Chat messages use more horizontal space Chat input keeps its previous max width
This commit is contained in:
@@ -3306,7 +3306,7 @@ const ChatInputComponent: React.FC<ChatInputProps> = ({ onOpenSettings, scrollTo
|
||||
)}
|
||||
style={isMobile && inputBarOffset > 0 ? { marginBottom: `${inputBarOffset}px` } : undefined}
|
||||
>
|
||||
<div className={cn('chat-column relative overflow-visible', isDesktopExpanded && 'flex flex-1 min-h-0 flex-col')}>
|
||||
<div className={cn('chat-input-column relative overflow-visible', isDesktopExpanded && 'flex flex-1 min-h-0 flex-col')}>
|
||||
<AttachedFilesList />
|
||||
<QueuedMessageChips
|
||||
onEditMessage={handleQueuedMessageEdit}
|
||||
|
||||
@@ -25,13 +25,19 @@
|
||||
}
|
||||
|
||||
.chat-column {
|
||||
width: min(100%, 64rem);
|
||||
margin-inline: auto;
|
||||
padding-inline: calc(clamp(0.75rem, 2.5vw, 1rem) * var(--padding-scale, 1));
|
||||
}
|
||||
|
||||
.chat-input-column {
|
||||
width: min(100%, 48rem);
|
||||
margin-inline: auto;
|
||||
padding-inline: calc(clamp(0.75rem, 2.5vw, 1rem) * var(--padding-scale, 1));
|
||||
}
|
||||
|
||||
.chat-message-column {
|
||||
width: min(100%, 48rem);
|
||||
width: min(100%, 64rem);
|
||||
margin-inline: auto;
|
||||
padding-inline: calc(clamp(0.75rem, 2.5vw, 1rem) * var(--padding-scale, 1));
|
||||
}
|
||||
@@ -41,6 +47,10 @@
|
||||
padding-inline: calc(clamp(1rem, 2.5vw, 1.5rem) * var(--padding-scale, 1));
|
||||
}
|
||||
|
||||
.chat-input-column {
|
||||
padding-inline: calc(clamp(1rem, 2.5vw, 1.5rem) * var(--padding-scale, 1));
|
||||
}
|
||||
|
||||
.chat-message-column {
|
||||
padding-inline: calc(clamp(1rem, 2.5vw, 1.5rem) * var(--padding-scale, 1));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user