Add paddings around auth forms

This commit is contained in:
2026-05-28 10:10:40 +02:00
parent de2f32ee8f
commit 12d18141dc

View File

@@ -29,14 +29,17 @@ class _AuthorizationPage extends ConsumerState<AuthorizationPage> {
Expanded( Expanded(
flex: showDecoration ? 7 : 1, flex: showDecoration ? 7 : 1,
child: Center( child: Center(
child: Column( child: Padding(
mainAxisSize: MainAxisSize.min, padding: const EdgeInsets.all(12.0),
children: [ child: Column(
if (authState!.mode == AuthMode.login) mainAxisSize: MainAxisSize.min,
LoginForm() children: [
else if (authState!.mode == AuthMode.login)
RegisterForm(), LoginForm()
], else
RegisterForm(),
],
),
), ),
), ),
), ),