Fix gif layout (#10421)

This commit is contained in:
Nicolas Mowen 2024-03-13 07:58:46 -06:00 committed by GitHub
parent b8e472643d
commit 9d01a7dc74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ export function AnimatedEventThumbnail({ event }: AnimatedEventThumbnailProps) {
return ( return (
<Tooltip> <Tooltip>
<TooltipTrigger asChild> <TooltipTrigger asChild>
<div className="h-24 relative"> <div className="w-max h-24 relative">
<img <img
className="size-full rounded object-cover object-center cursor-pointer" className="size-full rounded object-cover object-center cursor-pointer"
src={imageUrl} src={imageUrl}

View File

@ -117,7 +117,7 @@ export default function LiveDashboardView({
{events && events.length > 0 && ( {events && events.length > 0 && (
<ScrollArea> <ScrollArea>
<TooltipProvider> <TooltipProvider>
<div className="flex gap-4 items-center"> <div className="flex gap-2 items-center">
{events.map((event) => { {events.map((event) => {
return <AnimatedEventThumbnail key={event.id} event={event} />; return <AnimatedEventThumbnail key={event.id} event={event} />;
})} })}