mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 12:15:25 +03:00
Fix sizing of dialog
This commit is contained in:
parent
5802ad3259
commit
bf51fb3eac
@ -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();
|
||||||
|
|||||||
@ -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}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user