Commit c5dc66d
committed
fix(MessageComposer): make textarea full-width in custom composer layouts
Scope the .str-chat__textarea sizing rules to the TextareaComposer's own
elements instead of the .str-chat__message-composer-controls wrapper, so a
custom composer that renders <TextareaComposer> without the default
MessageComposerUI still gets a full-width textarea rather than the bare
<textarea> falling back to its intrinsic cols width (~160px).1 parent 3bb8a2f commit c5dc66d
1 file changed
Lines changed: 26 additions & 21 deletions
Lines changed: 26 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | 194 | | |
216 | 195 | | |
217 | 196 | | |
| |||
265 | 244 | | |
266 | 245 | | |
267 | 246 | | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
268 | 273 | | |
269 | 274 | | |
270 | 275 | | |
| |||
0 commit comments