mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 07:35:27 +03:00
Only manually set aspect ratio when using alert videos
This commit is contained in:
parent
9bef54feb7
commit
bf60dee52e
@ -109,7 +109,7 @@ export function AnimatedEventCard({
|
|||||||
<div
|
<div
|
||||||
className="relative h-24 4k:h-32"
|
className="relative h-24 4k:h-32"
|
||||||
style={{
|
style={{
|
||||||
aspectRatio: aspectRatio,
|
aspectRatio: alertVideos ? aspectRatio : undefined,
|
||||||
}}
|
}}
|
||||||
onMouseEnter={isDesktop ? () => setIsHovered(true) : undefined}
|
onMouseEnter={isDesktop ? () => setIsHovered(true) : undefined}
|
||||||
onMouseLeave={isDesktop ? () => setIsHovered(false) : undefined}
|
onMouseLeave={isDesktop ? () => setIsHovered(false) : undefined}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user