diff --git a/src/uhm/components/editor/ReplayPreviewOverlay.tsx b/src/uhm/components/editor/ReplayPreviewOverlay.tsx index e8a344b..87230f6 100644 --- a/src/uhm/components/editor/ReplayPreviewOverlay.tsx +++ b/src/uhm/components/editor/ReplayPreviewOverlay.tsx @@ -123,15 +123,34 @@ export default function ReplayPreviewOverlay({ {dialog && (dialog.text?.trim() || dialog.image_url?.trim()) ? (
{dialog.image_url?.trim() ? ( @@ -155,7 +174,7 @@ export default function ReplayPreviewOverlay({ style={{ width: "100%", display: "block", - maxHeight: 140, + maxHeight: isLargeScreen ? 140 : 100, objectFit: "cover", background: "#020617", }} @@ -170,7 +189,9 @@ export default function ReplayPreviewOverlay({ fontSize: "14px", lineHeight: "1.6", overflowY: "auto", - maxHeight: dialog.image_url?.trim() ? "180px" : "140px", + maxHeight: dialog.image_url?.trim() + ? (isLargeScreen ? "180px" : "100px") + : (isLargeScreen ? "140px" : "120px"), minHeight: 0, background: "transparent", }}