diff --git a/lib/ui/study_timer_screen.dart b/lib/ui/study_timer_screen.dart index f368634..12dcef9 100644 --- a/lib/ui/study_timer_screen.dart +++ b/lib/ui/study_timer_screen.dart @@ -507,20 +507,25 @@ class _StudyTimerScreenState extends State Widget _statBox(String label, String value) { return Container( - width: 100, - padding: const EdgeInsets.symmetric(vertical: 14), + width: 108, + padding: const EdgeInsets.symmetric(vertical: 14, horizontal: 6), decoration: BoxDecoration( color: AppPalette.paper, borderRadius: BorderRadius.circular(16), border: Border.all(color: AppPalette.sage), ), child: Column( + mainAxisSize: MainAxisSize.min, children: [ Text(label, style: TextStyle(color: Colors.grey[600], fontSize: 12)), const SizedBox(height: 4), - Text( - value, - style: const TextStyle(fontWeight: FontWeight.bold, fontSize: 15), + FittedBox( + fit: BoxFit.scaleDown, + child: Text( + value, + maxLines: 1, + style: const TextStyle(fontWeight: FontWeight.bold, fontSize: 15), + ), ), ], ),