mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 07:35:27 +03:00
Work around safari bug with alert thumbnails
This commit is contained in:
parent
b15f4500de
commit
e4573f6313
@ -107,7 +107,7 @@ export function AnimatedEventCard({
|
|||||||
<Tooltip>
|
<Tooltip>
|
||||||
<TooltipTrigger asChild>
|
<TooltipTrigger asChild>
|
||||||
<div
|
<div
|
||||||
className="relative h-24 flex-shrink-0 4k:h-32"
|
className="relative h-24 flex-shrink-0 overflow-hidden rounded md:rounded-lg 4k:h-32"
|
||||||
style={{
|
style={{
|
||||||
aspectRatio: alertVideos ? aspectRatio : undefined,
|
aspectRatio: alertVideos ? aspectRatio : undefined,
|
||||||
}}
|
}}
|
||||||
@ -133,7 +133,7 @@ export function AnimatedEventCard({
|
|||||||
)}
|
)}
|
||||||
{previews != undefined && (
|
{previews != undefined && (
|
||||||
<div
|
<div
|
||||||
className="size-full cursor-pointer overflow-hidden rounded md:rounded-lg"
|
className="size-full cursor-pointer"
|
||||||
onClick={onOpenReview}
|
onClick={onOpenReview}
|
||||||
onAuxClick={(e) => {
|
onAuxClick={(e) => {
|
||||||
if (e.button === 1) {
|
if (e.button === 1) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user