Skip to content

Commit a23e404

Browse files
committed
reduce margins
1 parent 23e185b commit a23e404

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webview-ui/src/components/chat/ChatTextArea.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,12 +1235,12 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
12351235
"flex-col",
12361236
"gap-1",
12371237
"bg-editor-background",
1238-
"px-1.5",
1238+
isEditMode ? "px-0" : "px-1.5",
12391239
"pb-1",
12401240
"outline-none",
12411241
"border",
12421242
"border-none",
1243-
"w-[calc(100%-16px)]",
1243+
isEditMode ? "w-full" : "w-[calc(100%-16px)]",
12441244
"ml-auto",
12451245
"mr-auto",
12461246
"box-border",

0 commit comments

Comments
 (0)