ensure disabled and offline messages don't overlay each other

This commit is contained in:
Josh Hawkins 2025-03-11 22:15:35 -05:00
parent c6bed1e108
commit daee9aaf01

View File

@ -411,7 +411,7 @@ export default function LivePlayer({
/> />
</div> </div>
{offline && !showStillWithoutActivity && ( {offline && !showStillWithoutActivity && cameraEnabled && (
<div className="absolute inset-0 left-1/2 top-1/2 flex h-96 w-96 -translate-x-1/2 -translate-y-1/2"> <div className="absolute inset-0 left-1/2 top-1/2 flex h-96 w-96 -translate-x-1/2 -translate-y-1/2">
<div className="flex flex-col items-center justify-center rounded-lg bg-background/50 p-5"> <div className="flex flex-col items-center justify-center rounded-lg bg-background/50 p-5">
<p className="my-5 text-lg">Stream offline</p> <p className="my-5 text-lg">Stream offline</p>