UI improvements (#11429)

* Respect classname when no preview is found

* Don't check for go2rtc info if camera is not restramed

* Show error banner when playback fails

* Add keyboard shortcut for fullscreen
This commit is contained in:
Nicolas Mowen
2024-05-19 07:39:17 -05:00
committed by GitHub
parent 171a142adb
commit c1560308bf
5 changed files with 38 additions and 7 deletions
+6 -1
View File
@@ -82,7 +82,12 @@ export default function PreviewPlayer({
}
return (
<div className="flex size-full items-center justify-center rounded-lg text-white md:rounded-2xl">
<div
className={cn(
"flex size-full items-center justify-center rounded-lg text-white md:rounded-2xl",
className,
)}
>
No Preview Found
</div>
);