From 93670f7c3dba3e03b7e5060acb4b25dfe0b06e20 Mon Sep 17 00:00:00 2001 From: Lea Date: Sun, 5 Feb 2023 17:44:56 +0100 Subject: [PATCH] Center login prompt --- lib/widgets/login_prompt.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/widgets/login_prompt.dart b/lib/widgets/login_prompt.dart index 664069f..a86503c 100644 --- a/lib/widgets/login_prompt.dart +++ b/lib/widgets/login_prompt.dart @@ -9,14 +9,17 @@ class LoginPrompt extends StatelessWidget { @override Widget build(BuildContext context) { return Column( + mainAxisAlignment: MainAxisAlignment.center, children: [ const Text('Please log in'), + const SizedBox(height: 8), ElevatedButton( onPressed: () { Navigator.push(context, MaterialPageRoute(builder: (context) => LoginPage(api: api))); }, child: const Text('Log in'), ), + const SizedBox(height: 80), ], ); }