Skip to content

Commit 04a0725

Browse files
committed
fix
1 parent 98bac87 commit 04a0725

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

lib/screens/tools_screen.dart

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class _ToolsScreenState extends State<ToolsScreen> {
112112
crossAxisCount: 2,
113113
crossAxisSpacing: 12,
114114
mainAxisSpacing: 12,
115-
childAspectRatio: 1.2,
115+
childAspectRatio: 0.9,
116116
),
117117
delegate: SliverChildListDelegate([
118118
_buildToolCard(
@@ -348,7 +348,8 @@ class _ToolsScreenState extends State<ToolsScreen> {
348348
child: Padding(
349349
padding: const EdgeInsets.all(12.0),
350350
child: Column(
351-
mainAxisAlignment: MainAxisAlignment.center,
351+
mainAxisAlignment: MainAxisAlignment.start,
352+
crossAxisAlignment: CrossAxisAlignment.center,
352353
children: [
353354
Container(
354355
padding: const EdgeInsets.all(8),
@@ -366,11 +367,11 @@ class _ToolsScreenState extends State<ToolsScreen> {
366367
child: Icon(icon, color: iconColor, size: 24),
367368
),
368369
const SizedBox(height: 8),
369-
Expanded(
370+
Flexible(
370371
child: Text(
371372
title,
372373
style: TextStyle(
373-
fontSize: 13,
374+
fontSize: 14,
374375
fontWeight: FontWeight.bold,
375376
color: isExitButton ? Colors.red : Colors.white,
376377
),
@@ -380,11 +381,11 @@ class _ToolsScreenState extends State<ToolsScreen> {
380381
),
381382
),
382383
const SizedBox(height: 4),
383-
Expanded(
384+
Flexible(
384385
child: Text(
385386
description,
386387
style: TextStyle(
387-
fontSize: 10,
388+
fontSize: 11,
388389
color: isExitButton ? Colors.redAccent : Colors.grey[400],
389390
),
390391
textAlign: TextAlign.center,

0 commit comments

Comments
 (0)