Ensure all pages maintain a consistent size, even when there's less data to display.

This commit is contained in:
Kartik sharma 2025-07-09 13:32:12 +05:30 committed by pramod mahajan
parent ded2f73cc0
commit 73b07904d2

View File

@ -234,11 +234,7 @@ const AttendanceLog = ({
</div>
<div
className="table-responsive text-nowrap"
<<<<<<< HEAD
style={{ minHeight: "200px", display: 'flex', alignItems: 'center', justifyContent: 'center' }}
=======
style={{ minHeight: "200px" }}
>>>>>>> f8192ae (Page Height Should Be Minimized with "No Reports Found" Message in Daily Progress Report.)
>
{data && data.length > 0 && (
<table className="table mb-0">
@ -337,6 +333,7 @@ const AttendanceLog = ({
)}
{!loading && !isRefreshing && data.length === 0 && (
<span className="text-muted">No employee logs</span>
<span className="text-muted">No employee logs</span>
)}
{/* {error && !loading && !isRefreshing && (
<tr>