mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Cleanup gifs (#10434)
This commit is contained in:
parent
f9ed082e35
commit
c88a263a23
@ -45,13 +45,15 @@ export function AnimatedEventThumbnail({ event }: AnimatedEventThumbnailProps) {
|
|||||||
return (
|
return (
|
||||||
<Tooltip>
|
<Tooltip>
|
||||||
<TooltipTrigger asChild>
|
<TooltipTrigger asChild>
|
||||||
<div className="w-max h-24 relative">
|
<div
|
||||||
<img
|
className="h-24 relative"
|
||||||
className="size-full rounded object-cover object-center cursor-pointer"
|
|
||||||
src={imageUrl}
|
|
||||||
style={{
|
style={{
|
||||||
aspectRatio: aspectRatio,
|
aspectRatio: aspectRatio,
|
||||||
}}
|
}}
|
||||||
|
>
|
||||||
|
<img
|
||||||
|
className="size-full rounded object-cover object-center cursor-pointer"
|
||||||
|
src={imageUrl}
|
||||||
onClick={onOpenReview}
|
onClick={onOpenReview}
|
||||||
onLoad={() => setLoaded(true)}
|
onLoad={() => setLoaded(true)}
|
||||||
onError={() => {
|
onError={() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user