[Bugfix] Made the status card 1:1 ratio (#25)

Slight regression I didn't notice.

Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
PartyDonut 2024-10-16 16:16:30 +02:00 committed by GitHub
parent 29bc7f2fd8
commit 0495f9b800
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 7 deletions

View file

@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
class StatusCard extends ConsumerWidget {
@ -12,9 +13,8 @@ class StatusCard extends ConsumerWidget {
Widget build(BuildContext context, WidgetRef ref) {
return Padding(
padding: const EdgeInsets.all(5),
child: SizedBox(
width: 40,
height: 33,
child: SizedBox.square(
dimension: 33,
child: Card(
elevation: 10,
surfaceTintColor: color,