Tweak padding

This commit is contained in:
tommyxchow 2021-11-14 18:52:44 -05:00
parent 406746a94a
commit be68d8fb66
2 changed files with 3 additions and 2 deletions

View file

@ -77,7 +77,7 @@ class _ChatState extends State<Chat> {
if (context.read<AuthStore>().isLoggedIn)
Expanded(
child: Padding(
padding: const EdgeInsets.all(10.0),
padding: const EdgeInsets.all(5.0),
child: TextField(
decoration: const InputDecoration(
isDense: true,

View file

@ -41,8 +41,9 @@ class StreamCard extends StatelessWidget {
imageUrl: streamInfo.thumbnailUrl.replaceFirst('-{width}x{height}', '-440x248') + (DateTime.now().minute ~/ 5).toString(),
useOldImageOnUrlChange: true,
),
ColoredBox(
Container(
color: Colors.black.withOpacity(0.5),
padding: const EdgeInsets.symmetric(horizontal: 2.0),
child: Text(
DateTime.now().difference(DateTime.parse(streamInfo.startedAt)).toString().split('.')[0],
style: const TextStyle(fontSize: 12),