improved empty state UI when no projects are found

This commit is contained in:
Pramod Mahajan 2025-07-04 11:10:22 +05:30
parent a107041153
commit 5949e7c277

View File

@ -272,7 +272,7 @@ const ProjectList = () => {
<table className="table m-3">
<thead>
<tr>
<th className="text-start" colSpan={5}>
<th className="text-start" colSpan={5} >
Project Name
</th>
<th className="mx-2 text-start">Contact Person</th>
@ -295,6 +295,10 @@ const ProjectList = () => {
id: "b74da4c2-d07e-46f2-9919-e75e49b12731",
label: "Active",
},
{
id: "cdad86aa-8a56-4ff4-b633-9c629057dfef",
label:"In Progress"
},
{
id: "603e994b-a27f-4e5d-a251-f3d69b0498ba",
label: "On Hold",
@ -336,8 +340,8 @@ const ProjectList = () => {
</thead>
<tbody className="table-border-bottom-0 overflow-auto ">
{currentItems.length === 0 ? (
<tr>
<td colSpan="12" className="text-center py-4" >
<tr className="text-center">
<td colSpan="12" rowSpan='12'style={{height:"200px"}} >
No projects found
</td>
</tr>