@@ -236,11 +236,11 @@ class MessageWithSender extends StatelessWidget {
236
236
237
237
// TODO clean up this layout, by less precisely imitating web
238
238
return Padding (
239
- padding: const EdgeInsets .symmetric (vertical : 4 , horizontal : 8 ),
239
+ padding: const EdgeInsets .only (top : 2 , bottom : 3 , left : 8 , right : 8 ),
240
240
child: Row (crossAxisAlignment: CrossAxisAlignment .start, children: [
241
241
if (avatarUrl != null )
242
242
Padding (
243
- padding: const EdgeInsets .fromLTRB (0 , 6 , 11 , 0 ),
243
+ padding: const EdgeInsets .fromLTRB (3 , 6 , 11 , 0 ),
244
244
child: Container (
245
245
clipBehavior: Clip .antiAlias,
246
246
decoration: const BoxDecoration (
@@ -255,6 +255,7 @@ class MessageWithSender extends StatelessWidget {
255
255
const SizedBox (height: 3 ),
256
256
Text (message.sender_full_name, // TODO get from user data
257
257
style: const TextStyle (fontWeight: FontWeight .bold)),
258
+ const SizedBox (height: 4 ),
258
259
MessageContent (message: message),
259
260
])),
260
261
Container (
0 commit comments