From e1fc5311d2260f1194ede799160820f1ab9bf898 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Thu, 15 Jan 2026 00:09:41 +0800 Subject: [PATCH] :bug: Fix some bugs --- lib/screens/dashboard/dash.dart | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/lib/screens/dashboard/dash.dart b/lib/screens/dashboard/dash.dart index df9ce621..62deb771 100644 --- a/lib/screens/dashboard/dash.dart +++ b/lib/screens/dashboard/dash.dart @@ -304,19 +304,22 @@ class ClockCard extends HookConsumerWidget { ), ], ), - Row( - spacing: 5, - children: [ - notableDay.when( - data: (day) => day == null - ? Text('unauthorized').tr() - : _buildNotableDayText(context, day), - error: (err, _) => - Text(err.toString()).fontSize(12), - loading: () => - const Text('loading').tr().fontSize(12), - ), - ], + SingleChildScrollView( + scrollDirection: Axis.horizontal, + child: Row( + spacing: 5, + children: [ + notableDay.when( + data: (day) => day == null + ? Text('unauthorized').tr() + : _buildNotableDayText(context, day), + error: (err, _) => + Text(err.toString()).fontSize(12), + loading: () => + const Text('loading').tr().fontSize(12), + ), + ], + ), ), ], ), @@ -557,7 +560,7 @@ class FortuneCard extends HookConsumerWidget { ), Text('—— ${fortune.source}').bold(), ], - ).padding(horizontal: 16); + ).padding(horizontal: 16, vertical: unlimited ? 12 : 0); }, ), );