UI improvements and fixes (#14116)

* Add slider to adjust number of columns in search view

* Work around safari bug with alert thumbnails

* adjust gap
This commit is contained in:
Josh Hawkins
2024-10-02 07:59:53 -05:00
committed by GitHub
parent 849d441c5c
commit 0126960d79
2 changed files with 68 additions and 5 deletions

View File

@@ -107,7 +107,7 @@ export function AnimatedEventCard({
<Tooltip>
<TooltipTrigger asChild>
<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={{
aspectRatio: alertVideos ? aspectRatio : undefined,
}}
@@ -133,7 +133,7 @@ export function AnimatedEventCard({
)}
{previews != undefined && (
<div
className="size-full cursor-pointer overflow-hidden rounded md:rounded-lg"
className="size-full cursor-pointer"
onClick={onOpenReview}
onAuxClick={(e) => {
if (e.button === 1) {