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(
|
||||
child: SingleChildScrollView(
|
||||
child: Container(
|
||||
height: size.height *0.65,
|
||||
height: size.height *0.7,
|
||||
width: size.width *0.4,
|
||||
decoration: BoxDecoration(
|
||||
color: kWhite,
|
||||
@ -255,7 +255,7 @@ class _LoginScreenState extends State<LoginScreen> {
|
||||
Center(
|
||||
child: AutoSizeText(
|
||||
pageTitle,
|
||||
style: new TextStyle(color: kPrimaryColor, fontSize: 45, fontFamily: "Helvetica"),
|
||||
style: new TextStyle(color: kPrimaryColor, fontSize: 27, fontFamily: "Helvetica"),
|
||||
maxLines: 2,
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
@ -299,7 +299,7 @@ class _LoginScreenState extends State<LoginScreen> {
|
||||
),
|
||||
),
|
||||
if(kIsWeb) Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
padding: const EdgeInsets.all(1.0),
|
||||
child: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.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(
|
||||
text: "SE CONNECTER",
|
||||
fontSize: 25,
|
||||
vertical: 25,
|
||||
horizontal: 45,
|
||||
fontSize: 16,
|
||||
vertical: 15,
|
||||
horizontal: 30,
|
||||
press: () {
|
||||
TextInput.finishAutofillContext();
|
||||
authenticateTRY(appContext, true);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user