@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/dialtribe-player.js +4 -4
- package/dist/dialtribe-player.js.map +1 -1
- package/dist/dialtribe-player.mjs +4 -4
- package/dist/dialtribe-player.mjs.map +1 -1
- package/dist/dialtribe-streamer.js +4 -4
- package/dist/dialtribe-streamer.js.map +1 -1
- package/dist/dialtribe-streamer.mjs +4 -4
- package/dist/dialtribe-streamer.mjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -3423,7 +3423,7 @@ function DialtribePlayer({
|
|
|
3423
3423
|
const playerContent = /* @__PURE__ */ jsxs(
|
|
3424
3424
|
"div",
|
|
3425
3425
|
{
|
|
3426
|
-
className: `bg-black rounded-lg shadow-2xl w-full max-h-full flex flex-col overflow-hidden ${className}`,
|
|
3426
|
+
className: `bg-black rounded-lg shadow-2xl w-full h-full max-h-full flex flex-col overflow-hidden ${className}`,
|
|
3427
3427
|
children: [
|
|
3428
3428
|
/* @__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: [
|
|
3429
3429
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -3479,7 +3479,7 @@ function DialtribePlayer({
|
|
|
3479
3479
|
) })
|
|
3480
3480
|
] }),
|
|
3481
3481
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col md:flex-row flex-1 min-h-0 overflow-hidden", children: [
|
|
3482
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
3482
|
+
/* @__PURE__ */ jsxs("div", { className: "min-h-0 md:flex-1 flex flex-col overflow-hidden", children: [
|
|
3483
3483
|
/* @__PURE__ */ jsxs(
|
|
3484
3484
|
"div",
|
|
3485
3485
|
{
|
|
@@ -3565,7 +3565,7 @@ function DialtribePlayer({
|
|
|
3565
3565
|
)
|
|
3566
3566
|
] }) })
|
|
3567
3567
|
}
|
|
3568
|
-
) : /* @__PURE__ */ jsxs("div", { className: "aspect-video relative", children: [
|
|
3568
|
+
) : /* @__PURE__ */ jsxs("div", { className: "aspect-video relative max-h-[calc(90vh-200px)] max-w-[calc((90vh-200px)*16/9)] mx-auto", children: [
|
|
3569
3569
|
/* @__PURE__ */ jsx("div", { onClick: handleVideoClick, className: "cursor-pointer", children: /* @__PURE__ */ jsx(
|
|
3570
3570
|
ReactPlayer,
|
|
3571
3571
|
{
|
|
@@ -4559,7 +4559,7 @@ function DialtribeOverlay({
|
|
|
4559
4559
|
role: "dialog",
|
|
4560
4560
|
"aria-modal": "true",
|
|
4561
4561
|
"aria-label": ariaLabel,
|
|
4562
|
-
children: /* @__PURE__ */ jsxs("div", { className: `relative w-full
|
|
4562
|
+
children: /* @__PURE__ */ jsxs("div", { className: `relative w-full h-full flex flex-col ${styles.container}`, children: [
|
|
4563
4563
|
showCloseButton && /* @__PURE__ */ jsx(
|
|
4564
4564
|
"button",
|
|
4565
4565
|
{
|