Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ interface PlanContentProps {

export function PlanContent({ plan }: PlanContentProps) {
return (
<Box className="max-h-[50vh] max-w-[750px] overflow-y-auto rounded-lg border-2 border-blue-6 bg-blue-2 p-4">
<Box className="max-h-[50vh] max-w-conversation overflow-y-auto rounded-lg border-2 border-blue-6 bg-blue-2 p-4">
<Box className="plan-markdown text-blue-12">
<ReactMarkdown remarkPlugins={[remarkGfm]}>{plan}</ReactMarkdown>
</Box>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export function ConversationView({
renderItem={renderItem}
onScrollStateChange={handleScrollStateChange}
className="absolute inset-0 bg-gray-1"
itemClassName="mx-auto max-w-[750px] px-2 py-1.5"
itemClassName="mx-auto max-w-conversation px-2 py-1.5"
footer={
<div className={compact ? "pb-1" : "pb-16"}>
<SessionFooter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function PlanStatusBar({ plan }: PlanStatusBarProps) {
className="cursor-pointer border-gray-4 border-t bg-gray-2"
onClick={() => setIsExpanded(!isExpanded)}
>
<Box className="mx-auto max-w-[750px]">
<Box className="mx-auto max-w-conversation">
<Flex align="center" gap="2" className="px-3 py-2">
{isExpanded ? (
<CaretDown size={12} className="text-gray-9" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ export function SessionView({
</Flex>
) : firstPendingPermission ? (
<Box className="border-gray-4 border-t">
<Box className="mx-auto max-w-[750px] p-2">
<Box className="mx-auto max-w-conversation p-2">
<PermissionSelector
toolCall={firstPendingPermission.toolCall}
options={firstPendingPermission.options}
Expand Down Expand Up @@ -540,7 +540,9 @@ export function SessionView({
}`}
>
<Box
className={compact ? "p-1" : "mx-auto max-w-[750px] p-2"}
className={
compact ? "p-1" : "mx-auto max-w-conversation p-2"
}
>
<MessageEditor
ref={editorRef}
Expand Down
3 changes: 3 additions & 0 deletions apps/code/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ module.exports = {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
maxWidth: {
conversation: "min(90%, 1100px)",
},
animation: {
"sync-rotate": "sync-rotate 3s ease-in-out infinite",
},
Expand Down