@dialtribe/react-sdk 0.1.8 → 0.1.10

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.mjs CHANGED
@@ -1545,7 +1545,7 @@ function DialtribePlayer({
1545
1545
  const playerContent = /* @__PURE__ */ jsxs(
1546
1546
  "div",
1547
1547
  {
1548
- className: `bg-black rounded-lg shadow-2xl w-full max-h-full flex flex-col overflow-hidden ${className}`,
1548
+ className: `bg-black rounded-lg shadow-2xl w-full h-full max-h-full flex flex-col overflow-hidden ${className}`,
1549
1549
  children: [
1550
1550
  /* @__PURE__ */ jsxs("div", { className: "bg-zinc-900/50 backdrop-blur-sm border-b border-zinc-800 px-3 sm:px-4 md:px-6 py-2 sm:py-3 md:py-4 flex justify-between items-center rounded-t-lg shrink-0", children: [
1551
1551
  /* @__PURE__ */ jsxs("div", { children: [
@@ -1601,7 +1601,7 @@ function DialtribePlayer({
1601
1601
  ) })
1602
1602
  ] }),
1603
1603
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col md:flex-row flex-1 min-h-0 overflow-hidden", children: [
1604
- /* @__PURE__ */ jsxs("div", { className: "shrink-0 md:shrink md:flex-1 flex flex-col overflow-hidden", children: [
1604
+ /* @__PURE__ */ jsxs("div", { className: "min-h-0 md:flex-1 flex flex-col overflow-hidden", children: [
1605
1605
  /* @__PURE__ */ jsxs(
1606
1606
  "div",
1607
1607
  {
@@ -1687,7 +1687,7 @@ function DialtribePlayer({
1687
1687
  )
1688
1688
  ] }) })
1689
1689
  }
1690
- ) : /* @__PURE__ */ jsxs("div", { className: "aspect-video relative", children: [
1690
+ ) : /* @__PURE__ */ jsxs("div", { className: "aspect-video relative max-h-[calc(90vh-200px)] max-w-[calc((90vh-200px)*16/9)] mx-auto", children: [
1691
1691
  /* @__PURE__ */ jsx("div", { onClick: handleVideoClick, className: "cursor-pointer", children: /* @__PURE__ */ jsx(
1692
1692
  ReactPlayer,
1693
1693
  {
@@ -2681,7 +2681,7 @@ function DialtribeOverlay({
2681
2681
  role: "dialog",
2682
2682
  "aria-modal": "true",
2683
2683
  "aria-label": ariaLabel,
2684
- children: /* @__PURE__ */ jsxs("div", { className: `relative w-full overflow-hidden ${styles.container}`, children: [
2684
+ children: /* @__PURE__ */ jsxs("div", { className: `relative w-full h-full flex flex-col ${styles.container}`, children: [
2685
2685
  showCloseButton && /* @__PURE__ */ jsx(
2686
2686
  "button",
2687
2687
  {