fixed TM-171 jira task

This commit is contained in:
amirrezaghabeli
2025-10-01 14:11:53 +03:30
parent d42f477dcb
commit 006b421a9e
12 changed files with 69 additions and 17 deletions
+6 -6
View File
@@ -51,7 +51,7 @@ class _LoginTabletPageState extends State<LoginTabletPage> {
child: SingleChildScrollView(
padding: EdgeInsets.symmetric(horizontal: 24.0.w()),
child: SizedBox(
width: 526,
width: 364.0.w(),
child: Consumer<AuthViewModel>(
builder: (context, viewModel, _) {
return Column(
@@ -65,9 +65,9 @@ class _LoginTabletPageState extends State<LoginTabletPage> {
height: 50.0.h(),
),
),
SizedBox(height: 32.0.h()),
SizedBox(height: 72.0.h()),
const LoginTitle(),
SizedBox(height: 32.0.h()),
SizedBox(height: 40.0.h()),
LoginTextField(
controller: viewModel.usernameController,
focusNode: viewModel.usernameFocus,
@@ -77,7 +77,7 @@ class _LoginTabletPageState extends State<LoginTabletPage> {
borderRedus: 12,
prefixIconPadding: 4.0.w(),
),
SizedBox(height: 16.0.h()),
SizedBox(height: 24.0.h()),
LoginTextField(
controller: viewModel.passwordController,
focusNode: viewModel.passwordFocus,
@@ -90,7 +90,7 @@ class _LoginTabletPageState extends State<LoginTabletPage> {
onToggleVisibility: viewModel.togglePasswordVisibility,
borderRedus: 12,
),
SizedBox(height: 32.0.h()),
SizedBox(height: 70.0.h()),
if (viewModel.isLoading)
const BaseButton(
isEnabled: false,
@@ -107,7 +107,7 @@ class _LoginTabletPageState extends State<LoginTabletPage> {
}
: null,
),
const SizedBox(height: 32.0),
SizedBox(height: 30.0.h()),
TextButton(
onPressed: () {
const ForgotPasswordRouteData().push(context);