Fix sizing of dialog

This commit is contained in:
Nicolas Mowen 2024-01-30 07:25:12 -07:00
parent 5802ad3259
commit bf51fb3eac
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ export default function DynamicVideoPlayer({
playerRef.current.muted(!playerRef.current.muted()); playerRef.current.muted(!playerRef.current.muted());
} }
break; break;
case " ": case " ":
if (down && playerRef.current) { if (down && playerRef.current) {
if (playerRef.current.paused()) { if (playerRef.current.paused()) {
playerRef.current.play(); playerRef.current.play();

View File

@ -268,7 +268,7 @@ function TimelineViewer({
return ( return (
<Dialog open={playback != undefined} onOpenChange={(_) => onClose()}> <Dialog open={playback != undefined} onOpenChange={(_) => onClose()}>
<DialogContent className="md:max-w-2xl lg:max-w-4xl xl:max-w-6xl 2xl:max-w-7xl 3xl:max-w-[1720px]"> <DialogContent className="w-[70%] max-h-[82%] max-w-full">
{timelineData && playback && ( {timelineData && playback && (
<DesktopTimelineView <DesktopTimelineView
timelineData={timelineData} timelineData={timelineData}