mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-05 22:57:40 +03:00
Remove rounded corners from CameraImage (visible during stream load)
https://claude.ai/code/session_01THf2SuS7hLt9NgstxvKdg8
This commit is contained in:
parent
16281f669a
commit
8f4063d162
@ -93,13 +93,12 @@ export default function CameraImage({
|
|||||||
? "h-full w-auto"
|
? "h-full w-auto"
|
||||||
: "h-auto w-full"
|
: "h-auto w-full"
|
||||||
: "invisible",
|
: "invisible",
|
||||||
"rounded-lg md:rounded-2xl",
|
|
||||||
)}
|
)}
|
||||||
onLoad={handleImageLoad}
|
onLoad={handleImageLoad}
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<div className="size-full rounded-lg border-2 border-muted bg-background_alt text-center md:rounded-2xl" />
|
<div className="size-full border-2 border-muted bg-background_alt text-center" />
|
||||||
)}
|
)}
|
||||||
{!imageLoaded && enabled ? (
|
{!imageLoaded && enabled ? (
|
||||||
<div className="absolute bottom-0 left-0 right-0 top-0 flex items-center justify-center">
|
<div className="absolute bottom-0 left-0 right-0 top-0 flex items-center justify-center">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user