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( : 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