@invana/ui 0.0.20 → 0.0.21

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/dist/index.js CHANGED
@@ -2662,14 +2662,21 @@ function ChatSession({
2662
2662
  }, [autoScrollKey, scrollToBottom]);
2663
2663
  const isEmpty = React23.Children.count(children) === 0;
2664
2664
  return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col h-full min-h-0", className), children: [
2665
- /* @__PURE__ */ jsx(ScrollArea, { ref: rootRef, className: "flex-1 min-h-0", children: isEmpty && emptyState ? emptyState : /* @__PURE__ */ jsx(
2666
- "div",
2665
+ /* @__PURE__ */ jsx(
2666
+ ScrollArea,
2667
2667
  {
2668
- ref: contentRef,
2669
- className: cn("flex flex-col gap-4 p-3", bodyClassName),
2670
- children
2668
+ ref: rootRef,
2669
+ className: "flex-1 min-h-0 [&_[data-radix-scroll-area-viewport]>div]:!block",
2670
+ children: isEmpty && emptyState ? emptyState : /* @__PURE__ */ jsx(
2671
+ "div",
2672
+ {
2673
+ ref: contentRef,
2674
+ className: cn("flex flex-col gap-4 p-3", bodyClassName),
2675
+ children
2676
+ }
2677
+ )
2671
2678
  }
2672
- ) }),
2679
+ ),
2673
2680
  footer
2674
2681
  ] });
2675
2682
  }