Fixed some issues home ui

This commit is contained in:
Juan Gilsanz Polo 2023-05-21 02:03:33 +02:00
parent 4a20272772
commit 9d59a5caac
3 changed files with 80 additions and 76 deletions

View file

@ -21,22 +21,19 @@ class ServerStatus extends StatelessWidget {
padding: const EdgeInsets.only(left: 16, right: 16, bottom: 16),
child: Column(
children: [
Padding(
padding: width > 700
? const EdgeInsets.all(16)
: const EdgeInsets.all(0),
child: Text(
AppLocalizations.of(context)!.serverStatus,
style: TextStyle(
fontSize: 18,
fontWeight: FontWeight.w500,
color: Theme.of(context).colorScheme.onSurface
),
Text(
AppLocalizations.of(context)!.serverStatus,
style: TextStyle(
fontSize: 18,
fontWeight: FontWeight.w500,
color: Theme.of(context).colorScheme.onSurface
),
),
const SizedBox(height: 16),
SizedBox(
height: width > 700 ? 70 : 170,
height: width > 700 ? 66 : 146,
child: GridView(
padding: const EdgeInsets.all(0),
physics: const NeverScrollableScrollPhysics(),
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
crossAxisCount: width > 700 ? 4 : 2,