Update layout for login for smaller screen
This commit is contained in:
parent
21b38052cc
commit
9fb7250678
@ -224,7 +224,7 @@ class _LoginScreenState extends State<LoginScreen> {
|
|||||||
body: Center(
|
body: Center(
|
||||||
child: SingleChildScrollView(
|
child: SingleChildScrollView(
|
||||||
child: Container(
|
child: Container(
|
||||||
height: size.height *0.65,
|
height: size.height *0.7,
|
||||||
width: size.width *0.4,
|
width: size.width *0.4,
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: kWhite,
|
color: kWhite,
|
||||||
@ -255,7 +255,7 @@ class _LoginScreenState extends State<LoginScreen> {
|
|||||||
Center(
|
Center(
|
||||||
child: AutoSizeText(
|
child: AutoSizeText(
|
||||||
pageTitle,
|
pageTitle,
|
||||||
style: new TextStyle(color: kPrimaryColor, fontSize: 45, fontFamily: "Helvetica"),
|
style: new TextStyle(color: kPrimaryColor, fontSize: 27, fontFamily: "Helvetica"),
|
||||||
maxLines: 2,
|
maxLines: 2,
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
),
|
),
|
||||||
@ -299,7 +299,7 @@ class _LoginScreenState extends State<LoginScreen> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
if(kIsWeb) Padding(
|
if(kIsWeb) Padding(
|
||||||
padding: const EdgeInsets.all(8.0),
|
padding: const EdgeInsets.all(1.0),
|
||||||
child: Row(
|
child: Row(
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
@ -320,12 +320,12 @@ class _LoginScreenState extends State<LoginScreen> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(height: size.height * 0.05),
|
SizedBox(height: size.height * 0.015),
|
||||||
!isLoading ? RoundedButton(
|
!isLoading ? RoundedButton(
|
||||||
text: "SE CONNECTER",
|
text: "SE CONNECTER",
|
||||||
fontSize: 25,
|
fontSize: 16,
|
||||||
vertical: 25,
|
vertical: 15,
|
||||||
horizontal: 45,
|
horizontal: 30,
|
||||||
press: () {
|
press: () {
|
||||||
TextInput.finishAutofillContext();
|
TextInput.finishAutofillContext();
|
||||||
authenticateTRY(appContext, true);
|
authenticateTRY(appContext, true);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user