@snapdragonsnursery/react-components 1.1.4 → 1.1.5

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snapdragonsnursery/react-components",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -317,7 +317,7 @@ const ChildSearchModal = ({
317
317
  <div className="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 p-4 overflow-hidden">
318
318
  <div
319
319
  ref={modalRef}
320
- className={`bg-white dark:bg-gray-800 rounded-lg shadow-xl max-w-4xl w-full h-[90vh] flex flex-col ${className}`}
320
+ className={`bg-white dark:bg-gray-800 rounded-lg shadow-xl max-w-4xl w-full h-[90vh] flex flex-col overflow-hidden ${className}`}
321
321
  >
322
322
  {/* Header */}
323
323
  <div className="flex items-center justify-between p-6 border-b border-gray-200 dark:border-gray-700">
@@ -614,7 +614,7 @@ const ChildSearchModal = ({
614
614
  </div>
615
615
 
616
616
  {/* Content */}
617
- <div className="flex-1 overflow-hidden">
617
+ <div className="flex-1 overflow-hidden min-h-0">
618
618
  {loading && (
619
619
  <div className="flex items-center justify-center p-8">
620
620
  <div className="animate-spin rounded-full h-8 w-8 border-b-2 border-blue-500"></div>
@@ -630,7 +630,7 @@ const ChildSearchModal = ({
630
630
  )}
631
631
 
632
632
  {!loading && !error && (
633
- <div className="overflow-y-auto h-full">
633
+ <div className="overflow-y-auto h-full max-h-full">
634
634
  {children.length === 0 ? (
635
635
  <div className="p-6 text-center text-gray-500 dark:text-gray-400">
636
636
  {debouncedSearchTerm