mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-07 14:05:28 +03:00
fix object lifecycle point clicking for aspect ratios less than 16/9
This commit is contained in:
parent
7640960f84
commit
d21fa549c9
@ -365,7 +365,6 @@ export default function ObjectLifecycle({
|
|||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
"relative mx-auto flex max-h-[50dvh] flex-row justify-center",
|
"relative mx-auto flex max-h-[50dvh] flex-row justify-center",
|
||||||
!imgLoaded && aspectRatio < 16 / 9 && "h-full",
|
|
||||||
)}
|
)}
|
||||||
style={{
|
style={{
|
||||||
aspectRatio: !imgLoaded ? aspectRatio : undefined,
|
aspectRatio: !imgLoaded ? aspectRatio : undefined,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user