File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @matechat/react " : patch:feat
3
+ ---
4
+
5
+ Remove gap and margin between textarea and footer in ` Sender ` component.
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ export function Sender({
149
149
data-slot = "sender"
150
150
className = { twMerge (
151
151
clsx (
152
- "flex flex-col items-center gap-4 border border-gray-200 rounded-2xl shadow-sm transition-all duration-300 hover:shadow-md focus-within:ring-2 focus-within:ring-blue-500 focus-within:border-blue-500" ,
152
+ "flex flex-col items-center border border-gray-200 rounded-2xl shadow-sm transition-all duration-300 hover:shadow-md focus-within:ring-2 focus-within:ring-blue-500 focus-within:border-blue-500" ,
153
153
className ,
154
154
) ,
155
155
) }
@@ -161,8 +161,8 @@ export function Sender({
161
161
onChange = { ( e ) => setMessage ( e . target . value ) }
162
162
onKeyDown = { handleKeyDown }
163
163
placeholder = { placeholder }
164
- className = "w-full py -4 px-4 border-0 rounded-2xl resize-none focus:ring-0 focus:outline-none text-gray-700 placeholder-gray-400"
165
- rows = { 1 }
164
+ className = "w-full pt -4 px-4 border-0 rounded-2xl resize-none focus:ring-0 focus:outline-none text-gray-700 placeholder-gray-400"
165
+ rows = { 2 }
166
166
/>
167
167
< div className = "flex items-center justify-between w-full px-4 py-2" >
168
168
< div className = "flex items-center gap-2" >
You can’t perform that action at this time.
0 commit comments