Fix glance card title

This commit is contained in:
Yegor Vialov
2020-04-25 14:20:46 +00:00
parent 16c06a2d48
commit a90eb5c4db

View File

@ -273,14 +273,19 @@ class CardWidget extends StatelessWidget {
) )
); );
} }
return Card( return Card(
child: Padding( child: Column(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
CardHeader(name: card.name),
Padding(
padding: EdgeInsets.symmetric(vertical: Sizes.rowPadding), padding: EdgeInsets.symmetric(vertical: Sizes.rowPadding),
child: Table( child: Table(
children: rows children: rows
) )
) )
],
)
); );
} }