From c64c6e11d7ae59bc7d4a53582bf5fa5da3d4582a Mon Sep 17 00:00:00 2001 From: NaiJi Date: Mon, 18 Sep 2023 12:42:40 -0300 Subject: [PATCH] refactor(ui): Change SizedBox dimension hardcode from 10 to 8 for service cards --- lib/ui/pages/services/services.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/ui/pages/services/services.dart b/lib/ui/pages/services/services.dart index 17e947b5..dd2b3701 100644 --- a/lib/ui/pages/services/services.dart +++ b/lib/ui/pages/services/services.dart @@ -129,7 +129,7 @@ class _Card extends StatelessWidget { ), ), ), - const SizedBox(width: 10), + const SizedBox(width: 8), Text( service.displayName, style: Theme.of(context).textTheme.headlineMedium, @@ -139,14 +139,14 @@ class _Card extends StatelessWidget { Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - const SizedBox(height: 10), + const SizedBox(height: 8), if (service.url != '' && service.url != null) Column( children: [ _ServiceLink( url: service.url ?? '', ), - const SizedBox(height: 10), + const SizedBox(height: 8), ], ), if (service.id == 'mailserver') @@ -156,21 +156,21 @@ class _Card extends StatelessWidget { url: domainName, isActive: false, ), - const SizedBox(height: 10), + const SizedBox(height: 8), ], ), Text( service.description, style: Theme.of(context).textTheme.bodyMedium, ), - const SizedBox(height: 10), + const SizedBox(height: 8), Text( service.loginInfo, style: Theme.of(context).textTheme.bodyMedium?.copyWith( color: Theme.of(context).colorScheme.secondary, ), ), - const SizedBox(height: 10), + const SizedBox(height: 8), ], ) ],