multiple UI fixes/updates (#3422)
This commit is contained in:
@@ -343,9 +343,12 @@ function BrowserStream({
|
||||
|
||||
return (
|
||||
<div
|
||||
className={cn("browser-stream flex items-center justify-center", {
|
||||
"user-is-controlling": theUserIsControlling,
|
||||
})}
|
||||
className={cn(
|
||||
"browser-stream relative flex items-center justify-center",
|
||||
{
|
||||
"user-is-controlling": theUserIsControlling,
|
||||
},
|
||||
)}
|
||||
ref={setCanvasContainerRef}
|
||||
>
|
||||
{isVncConnected && (
|
||||
@@ -384,7 +387,7 @@ function BrowserStream({
|
||||
</div>
|
||||
)}
|
||||
{!isVncConnected && (
|
||||
<div className="flex aspect-video w-full flex-col items-center justify-center gap-2 rounded-md border border-slate-800 text-sm text-slate-400">
|
||||
<div className="absolute left-0 top-1/2 flex aspect-video w-full -translate-y-1/2 flex-col items-center justify-center gap-2 rounded-md border border-slate-800 text-sm text-slate-400">
|
||||
<RotateThrough interval={7 * 1000}>
|
||||
<span>Hm, working on the connection...</span>
|
||||
<span>Hang tight, we're almost there...</span>
|
||||
|
||||
Reference in New Issue
Block a user