Add paddings around auth forms
This commit is contained in:
@@ -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(),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user