@snapdragonsnursery/react-components 1.1.26 → 1.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/ChildSearchPage.jsx +4 -4
package/package.json
CHANGED
package/src/ChildSearchPage.jsx
CHANGED
|
@@ -677,7 +677,7 @@ const ChildSearchPage = ({
|
|
|
677
677
|
|
|
678
678
|
{/* Table */}
|
|
679
679
|
{children.length > 0 ? (
|
|
680
|
-
<div className="overflow-x-auto">
|
|
680
|
+
<div className="overflow-x-auto mb-6">
|
|
681
681
|
<Table>
|
|
682
682
|
<TableHeader>
|
|
683
683
|
{table.getHeaderGroups().map((headerGroup) => (
|
|
@@ -730,7 +730,7 @@ const ChildSearchPage = ({
|
|
|
730
730
|
</Table>
|
|
731
731
|
</div>
|
|
732
732
|
) : (
|
|
733
|
-
<div className="p-6 text-center text-gray-500 dark:text-gray-400">
|
|
733
|
+
<div className="p-6 text-center text-gray-500 dark:text-gray-400 mb-6">
|
|
734
734
|
{debouncedSearchTerm
|
|
735
735
|
? "No children found matching your search."
|
|
736
736
|
: "Start typing to search for children."}
|
|
@@ -739,9 +739,9 @@ const ChildSearchPage = ({
|
|
|
739
739
|
|
|
740
740
|
{/* Pagination */}
|
|
741
741
|
{(pagination.totalCount > 0 || children.length > 0) && (
|
|
742
|
-
<div className="px-6 py-
|
|
742
|
+
<div className="px-6 py-8 border-t border-gray-200 dark:border-gray-700">
|
|
743
743
|
{/* Pagination Info */}
|
|
744
|
-
<div className="flex items-center justify-between mb-
|
|
744
|
+
<div className="flex items-center justify-between mb-6">
|
|
745
745
|
<div className="text-sm text-gray-600 dark:text-gray-400">
|
|
746
746
|
Page {pagination.page} of {pagination.totalPages || 1}
|
|
747
747
|
</div>
|