Skip to content

NVR with realtime local object detection for IP cameras

Fix player height (#8270)

Nicolas Mowen29f82add7281
diff --git a/web/src/components/DialogLarge.jsx b/web/src/components/DialogLarge.jsx
index b6c2db5368..c789268222 100644
--- a/web/src/components/DialogLarge.jsx
+++ b/web/src/components/DialogLarge.jsx
@@ -21,7 +21,7 @@ export default function LargeDialog({ children, portalRootID = 'dialogs' }) {
>
<div
role="modal"
- className={`absolute rounded shadow-2xl bg-white dark:bg-gray-700 w-4/5 md:h-2/3 max-w-7xl text-gray-900 dark:text-white transition-transform transition-opacity duration-75 transform scale-90 opacity-0 ${
+ className={`absolute rounded shadow-2xl bg-white w-full max-h-fit sm:max-w-md md:max-w-lg lg:max-w-xl xl:max-w-2xl dark:bg-gray-700 text-gray-900 dark:text-white transition-transform transition-opacity duration-75 transform scale-90 opacity-0 ${
show ? 'scale-100 opacity-100' : ''
}`}
>