Fix frigate+ submit and recordings layouts for portrait cameras (#10486)

* Fix plus submission dialog

* Different layout for portrait recordings

* Fix now preview found pulsing

* Fix bug with uneven milliseconds

* Improve consistency of video scaling
This commit is contained in:
Nicolas Mowen
2024-03-15 17:28:57 -06:00
committed by GitHub
parent 64763293a2
commit c14f3c3902
6 changed files with 70 additions and 21 deletions

View File

@@ -211,7 +211,7 @@ function PreviewVideoPlayer({
</video>
{!loaded && <Skeleton className="absolute inset-0" />}
{cameraPreviews && !currentPreview && (
<div className="absolute inset-x-0 top-1/2 -y-translate-1/2 bg-black text-white rounded-2xl align-center text-center">
<div className="absolute inset-0 bg-black text-white rounded-2xl flex justify-center items-center">
No Preview Found
</div>
)}