diff --git a/src/App.css b/src/App.css index 96ce171..5e18b00 100644 --- a/src/App.css +++ b/src/App.css @@ -26,4 +26,9 @@ .manageusers-table-header-style .css-1ygcj2i-MuiTableCell-root{ background-color: #171716; color: white; -} \ No newline at end of file +} + +.no-padding-cell { + padding-top: 6.5px !important; + padding-bottom: 6.5px !important; +} diff --git a/src/components/intranet_users/IntranetUsers.tsx b/src/components/intranet_users/IntranetUsers.tsx index cf30432..dc17df3 100644 --- a/src/components/intranet_users/IntranetUsers.tsx +++ b/src/components/intranet_users/IntranetUsers.tsx @@ -128,20 +128,20 @@ export default function IntranetUsers(){ - + - Name - Role - Active + Name + Role + Active {manageUsersResponse && manageUsersResponse.map((row:any) => ( - + handleEdit(row)} aria-label="edit"> @@ -149,12 +149,12 @@ export default function IntranetUsers(){ */} - {row.username} - {row.role} + {row.username} + {row.role} {row.active==1? - Active + Active : - Inactive} + Inactive} ))} diff --git a/src/components/manage_users/ManageUsers.tsx b/src/components/manage_users/ManageUsers.tsx index 718a324..9d6bf6f 100644 --- a/src/components/manage_users/ManageUsers.tsx +++ b/src/components/manage_users/ManageUsers.tsx @@ -128,36 +128,33 @@ export default function ManageUsers(){
- - + + - Name - Email Id - Last Login - Active + Name + Email Id + Last Login + Active {manageUsersResponse && manageUsersResponse.map((row:any) => ( - - - handleEdit(row)} aria-label="edit"> - - - {/* handleDelete(row.id)} aria-label="delete"> - - */} + + + handleEdit(row)} aria-label="edit"> + + - {row.username} - {row.email_id} - {row.last_login} + {row.username} + {row.email_id} + {row.last_login} {row.active? - Active + Active : - Inactive} + Inactive} ))}