Add paddings around auth forms
This commit is contained in:
@@ -29,14 +29,17 @@ class _AuthorizationPage extends ConsumerState<AuthorizationPage> {
|
||||
Expanded(
|
||||
flex: showDecoration ? 7 : 1,
|
||||
child: Center(
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
if (authState!.mode == AuthMode.login)
|
||||
LoginForm()
|
||||
else
|
||||
RegisterForm(),
|
||||
],
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(12.0),
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
if (authState!.mode == AuthMode.login)
|
||||
LoginForm()
|
||||
else
|
||||
RegisterForm(),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user