diff --git a/lib/home_page.dart b/lib/home_page.dart index 7f4778c88..09da3d04b 100644 --- a/lib/home_page.dart +++ b/lib/home_page.dart @@ -126,7 +126,7 @@ class _HomePageState extends State { if (!FFI.ffiModel.initialized) { return Container(); } - return Padding( + var w = Padding( padding: const EdgeInsets.fromLTRB(16.0, 8.0, 16.0, 0.0), child: Container( height: 84, @@ -195,6 +195,9 @@ class _HomePageState extends State { ), ), ); + if (!isWeb) return w; + return Center( + child: Container(constraints: BoxConstraints(maxWidth: 600), child: w)); } @override