Skip to content

Commit 8641c32

Browse files
authored
Merge pull request #9 from OpenKnots/okcode/wider-chat-conversation
Widen chat conversation layout to 7xl
2 parents 63ef135 + 38117f8 commit 8641c32

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

apps/web/src/components/BranchToolbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export default function BranchToolbar({
109109
if (!activeThreadId || !activeProject) return null;
110110

111111
return (
112-
<div className="mx-auto flex w-full max-w-3xl items-center justify-between px-5 pb-3 pt-1">
112+
<div className="mx-auto flex w-full max-w-7xl items-center justify-between px-5 pb-3 pt-1">
113113
{envLocked || activeWorktreePath ? (
114114
<span className="inline-flex items-center gap-1 border border-transparent px-[calc(--spacing(3)-1px)] text-sm font-medium text-muted-foreground/70 sm:text-xs">
115115
{activeWorktreePath ? (

apps/web/src/components/ChatView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3789,7 +3789,7 @@ export default function ChatView({ threadId }: ChatViewProps) {
37893789
<form
37903790
ref={composerFormRef}
37913791
onSubmit={onSend}
3792-
className="mx-auto w-full min-w-0 max-w-3xl"
3792+
className="mx-auto w-full min-w-0 max-w-7xl"
37933793
data-chat-composer-form="true"
37943794
>
37953795
<input

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ export const MessagesTimeline = memo(function MessagesTimeline({
597597
<div
598598
ref={timelineRootRef}
599599
data-timeline-root="true"
600-
className="mx-auto w-full min-w-0 max-w-3xl overflow-x-hidden"
600+
className="mx-auto w-full min-w-0 max-w-7xl overflow-x-hidden"
601601
>
602602
{virtualizedRowCount > 0 && (
603603
<div className="relative" style={{ height: `${rowVirtualizer.getTotalSize()}px` }}>

apps/web/src/components/chat/ProviderHealthBanner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const ProviderHealthBanner = memo(function ProviderHealthBanner({
2525
const title = `${providerLabel} provider status`;
2626

2727
return (
28-
<div className="pt-3 mx-auto max-w-3xl">
28+
<div className="pt-3 mx-auto max-w-7xl">
2929
<Alert variant={status.status === "error" ? "error" : "warning"}>
3030
<CircleAlertIcon />
3131
<AlertTitle>{title}</AlertTitle>

apps/web/src/components/chat/ThreadErrorBanner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const ThreadErrorBanner = memo(function ThreadErrorBanner({
1111
}) {
1212
if (!error) return null;
1313
return (
14-
<div className="pt-3 mx-auto max-w-3xl">
14+
<div className="pt-3 mx-auto max-w-7xl">
1515
<Alert variant="error">
1616
<CircleAlertIcon />
1717
<AlertDescription className="line-clamp-3" title={error}>

0 commit comments

Comments
 (0)