From b58fec7ead155cd5acd1bcd9542a5bc61112917f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ng=C3=B4=20Qu=E1=BB=91c=20=C4=90=E1=BA=A1t?= Date: Wed, 10 Jan 2024 01:10:55 +0700 Subject: [PATCH] Fix width issue in edit user modal (#3939) * Fix width input issue in EditUserModal * update --- .../src/common/components/EditUserModal.tsx | 42 +++++++++---------- 1 file changed, 19 insertions(+), 23 deletions(-) diff --git a/framework/core/js/src/common/components/EditUserModal.tsx b/framework/core/js/src/common/components/EditUserModal.tsx index a8dc5b6e25..b5bed5e2a0 100644 --- a/framework/core/js/src/common/components/EditUserModal.tsx +++ b/framework/core/js/src/common/components/EditUserModal.tsx @@ -82,20 +82,16 @@ export default class EditUserModal -
- -
+ {!this.isEmailConfirmed() && this.userIsAdmin(app.session.user) && ( -
- -
+ )} , 30 @@ -120,17 +116,17 @@ export default class EditUserModal {app.translator.trans('core.lib.edit_user.set_password_label')} - {this.setPassword() && ( - - )} + {this.setPassword() && ( + + )} , 20 );