Browse Source

neon: fix LoginPage overflow

pull/301/head
Nikolas Rimikis 2 years ago
parent
commit
eddeca366f
No known key found for this signature in database
GPG Key ID: 85ED1DE9786A4FF2
  1. 14
      packages/neon/neon/lib/src/pages/login.dart

14
packages/neon/neon/lib/src/pages/login.dart

@ -165,13 +165,9 @@ class _LoginPageState extends State<LoginPage> {
: Center( : Center(
child: Scrollbar( child: Scrollbar(
interactive: true, interactive: true,
child: ListView( child: SingleChildScrollView(
primary: true,
shrinkWrap: true,
padding: const EdgeInsets.symmetric(vertical: 40, horizontal: 20), padding: const EdgeInsets.symmetric(vertical: 40, horizontal: 20),
children: [ primary: true,
SizedBox(
height: MediaQuery.of(context).size.height / 2,
child: Column( child: Column(
children: [ children: [
SvgPicture.asset( SvgPicture.asset(
@ -191,9 +187,6 @@ class _LoginPageState extends State<LoginPage> {
height: 20, height: 20,
), ),
const NextcloudLogo(), const NextcloudLogo(),
],
),
),
Form( Form(
key: _formKey, key: _formKey,
child: TextFormField( child: TextFormField(
@ -213,8 +206,6 @@ class _LoginPageState extends State<LoginPage> {
}, },
), ),
), ),
Column(
children: [
NeonLinearProgressIndicator( NeonLinearProgressIndicator(
visible: serverConnectionStateSnapshot.data == ServerConnectionState.loading, visible: serverConnectionStateSnapshot.data == ServerConnectionState.loading,
), ),
@ -232,7 +223,6 @@ class _LoginPageState extends State<LoginPage> {
], ],
], ],
), ),
],
), ),
), ),
), ),

Loading…
Cancel
Save