replaced hardcoded chatpage size with expanded, alignment adjustments

This commit is contained in:
NicKoehler
2023-05-21 10:20:40 +02:00
parent 717a7e9e03
commit 9374188ea9
2 changed files with 36 additions and 31 deletions

View File

@@ -48,7 +48,7 @@ class ChatPage extends StatelessWidget implements PageShape {
value: chatModel,
child: Container(
color: Theme.of(context).scaffoldBackgroundColor,
padding: EdgeInsets.all(20.0),
padding: EdgeInsets.only(top: 14.0, bottom: 14.0, left: 14.0),
child: Consumer<ChatModel>(
builder: (context, chatModel, child) {
final currentUser = chatModel.currentUser;