Changed header alignment to left-aligned in Project list view, employee list view and master view
This commit is contained in:
parent
85a846ed54
commit
21e4af4e33
@ -185,7 +185,7 @@
|
||||
height: 2.2rem;
|
||||
}
|
||||
|
||||
.table > thead > tr :first-child {
|
||||
/* .table > thead > tr :first-child {
|
||||
text-align: left;
|
||||
padding-left: 50px !important;
|
||||
}
|
||||
padding-left: 50px;
|
||||
} */
|
||||
|
@ -375,7 +375,29 @@ const EmployeeList = () => {
|
||||
aria-label="User: activate to sort column ascending"
|
||||
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
|
||||
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-sort="descending"
|
||||
>
|
||||
Email
|
||||
</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
|
||||
<div className="text-start ms-5">Role</div>
|
||||
</th>
|
||||
|
||||
<th
|
||||
|
@ -72,8 +72,8 @@ const MasterTable = ({ data, columns, loading, handleModalData }) => {
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th> {selectedMaster === "Activity" ? "Activity" : "Name"}</th>
|
||||
<th> {selectedMaster === "Activity" ? "Unit" : "Description"}</th>
|
||||
<th className="text-start"> {selectedMaster === "Activity" ? "Activity" : "Name"}</th>
|
||||
<th className="text-start"> {selectedMaster === "Activity" ? "Unit" : "Description"}</th>
|
||||
<th className={` ${!hasMasterPermission && "d-none"}`}>
|
||||
Actions
|
||||
</th>
|
||||
|
@ -266,7 +266,7 @@ const ProjectList = () => {
|
||||
<th className="text-start" colSpan={5}>
|
||||
Project Name
|
||||
</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">DEADLINE</th>
|
||||
<th className="mx-2">Task</th>
|
||||
|
Loading…
x
Reference in New Issue
Block a user