Skip to content

🔥 The free & Open Source DocuSign alternative

fix: report UI

prafull-opensignlabs8467340fb54d
diff --git a/apps/OpenSign/src/primitives/GetReportDisplay.js b/apps/OpenSign/src/primitives/GetReportDisplay.js
index b9176d19b..f1af679db 100644
--- a/apps/OpenSign/src/primitives/GetReportDisplay.js
+++ b/apps/OpenSign/src/primitives/GetReportDisplay.js
@@ -1227,7 +1227,13 @@ const ReportTable = (props) => {
</div>
<div
className={`${
- isDashboard && props.List?.length > 0 ? "min-h-[317px]" : "h-screen"
+ isDashboard && props.List?.length > 0
+ ? "min-h-[317px]"
+ : `${
+ currentList?.length === props.docPerPage
+ ? "h-fit"
+ : "h-screen"
+ }`
} overflow-auto w-full border-b`}
>
<table className="op-table border-collapse w-full">