Skip to content

Commit c45692b

Browse files
committed
Merge pull request #4822 from OmarSalouss/fix/ai-chat-input-width
1 parent a806bc7 commit c45692b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/ui/editor-static.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const editorVariants = cva(
2626
variant: {
2727
ai: 'w-full px-0 text-base md:text-sm',
2828
aiChat:
29-
'max-h-[min(70vh,320px)] w-full max-w-[700px] overflow-y-auto px-5 py-3 text-base md:text-sm',
29+
'max-h-[min(70vh,320px)] w-full overflow-y-auto px-5 py-3 text-base md:text-sm',
3030
default:
3131
'size-full px-16 pt-4 pb-72 text-base sm:px-[max(64px,calc(50%-350px))]',
3232
demo: 'size-full px-16 pt-4 pb-72 text-base sm:px-[max(64px,calc(50%-350px))]',

src/components/ui/editor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const editorVariants = cva(
7272
variant: {
7373
ai: 'w-full px-0 text-base md:text-sm',
7474
aiChat:
75-
'max-h-[min(70vh,320px)] w-full max-w-[700px] overflow-y-auto px-3 py-2 text-base md:text-sm',
75+
'max-h-[min(70vh,320px)] w-full overflow-y-auto px-3 py-2 text-base md:text-sm',
7676
comment: cn('rounded-none border-none bg-transparent text-sm'),
7777
default:
7878
'size-full px-16 pt-4 pb-72 text-base sm:px-[max(64px,calc(50%-350px))]',

0 commit comments

Comments
 (0)