Changed header alignment to left-aligned in Project list view, employee list view and master view

This commit is contained in:
ashutosh.nehete 2025-05-09 13:29:40 +05:30 committed by Vikas Nale
parent 85a846ed54
commit 21e4af4e33
4 changed files with 30 additions and 30 deletions

View File

@ -185,7 +185,7 @@
height: 2.2rem; height: 2.2rem;
} }
.table > thead > tr :first-child { /* .table > thead > tr :first-child {
text-align: left; text-align: left;
padding-left: 50px !important; padding-left: 50px;
} } */

View File

@ -375,7 +375,29 @@ const EmployeeList = () => {
aria-label="User: activate to sort column ascending" aria-label="User: activate to sort column ascending"
aria-sort="descending" aria-sort="descending"
> >
Name <div className="text-start ms-6">Name</div>
</th>
<th
className="sorting sorting_desc d-none d-sm-table-cell"
tabIndex="0"
aria-controls="DataTables_Table_0"
rowSpan="1"
colSpan="1"
aria-label="User: activate to sort column ascending"
aria-sort="descending"
>
<div className="text-start ms-5">Email</div>
</th>
<th
className="sorting sorting_desc d-none d-sm-table-cell"
tabIndex="0"
aria-controls="DataTables_Table_0"
rowSpan="1"
colSpan="1"
aria-label="User: activate to sort column ascending"
aria-sort="descending"
>
<div className="text-start ms-5">Contact</div>
</th> </th>
<th <th
className="sorting sorting_desc d-none d-sm-table-cell" className="sorting sorting_desc d-none d-sm-table-cell"
@ -386,29 +408,7 @@ const EmployeeList = () => {
aria-label="User: activate to sort column ascending" aria-label="User: activate to sort column ascending"
aria-sort="descending" aria-sort="descending"
> >
Email <div className="text-start ms-5">Role</div>
</th>
<th
className="sorting sorting_desc d-none d-sm-table-cell"
tabIndex="0"
aria-controls="DataTables_Table_0"
rowSpan="1"
colSpan="1"
aria-label="User: activate to sort column ascending"
aria-sort="descending"
>
Contact
</th>
<th
className="sorting sorting_desc d-none d-sm-table-cell"
tabIndex="0"
aria-controls="DataTables_Table_0"
rowSpan="1"
colSpan="1"
aria-label="User: activate to sort column ascending"
aria-sort="descending"
>
Role
</th> </th>
<th <th

View File

@ -72,8 +72,8 @@ const MasterTable = ({ data, columns, loading, handleModalData }) => {
<thead> <thead>
<tr> <tr>
<th></th> <th></th>
<th> {selectedMaster === "Activity" ? "Activity" : "Name"}</th> <th className="text-start"> {selectedMaster === "Activity" ? "Activity" : "Name"}</th>
<th> {selectedMaster === "Activity" ? "Unit" : "Description"}</th> <th className="text-start"> {selectedMaster === "Activity" ? "Unit" : "Description"}</th>
<th className={` ${!hasMasterPermission && "d-none"}`}> <th className={` ${!hasMasterPermission && "d-none"}`}>
Actions Actions
</th> </th>

View File

@ -266,7 +266,7 @@ const ProjectList = () => {
<th className="text-start" colSpan={5}> <th className="text-start" colSpan={5}>
Project Name Project Name
</th> </th>
<th className="mx-2">Project Manger</th> <th className="mx-2 text-start">Project Manger</th>
<th className="mx-2">START DATE</th> <th className="mx-2">START DATE</th>
<th className="mx-2">DEADLINE</th> <th className="mx-2">DEADLINE</th>
<th className="mx-2">Task</th> <th className="mx-2">Task</th>