Browse Source

Merge pull request #301 from Leptopoda/fix/#297

neon: fix LoginPage overflow
pull/292/head
Kate 2 years ago committed by GitHub
parent
commit
6bf1e6981f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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(
child: Scrollbar(
interactive: true,
child: ListView(
primary: true,
shrinkWrap: true,
child: SingleChildScrollView(
padding: const EdgeInsets.symmetric(vertical: 40, horizontal: 20),
children: [
SizedBox(
height: MediaQuery.of(context).size.height / 2,
primary: true,
child: Column(
children: [
SvgPicture.asset(
@ -191,9 +187,6 @@ class _LoginPageState extends State<LoginPage> {
height: 20,
),
const NextcloudLogo(),
],
),
),
Form(
key: _formKey,
child: TextFormField(
@ -213,8 +206,6 @@ class _LoginPageState extends State<LoginPage> {
},
),
),
Column(
children: [
NeonLinearProgressIndicator(
visible: serverConnectionStateSnapshot.data == ServerConnectionState.loading,
),
@ -232,7 +223,6 @@ class _LoginPageState extends State<LoginPage> {
],
],
),
],
),
),
),

Loading…
Cancel
Save