We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 500fb90 commit 8cadf52Copy full SHA for 8cadf52
src/components/result/GenericResultViewImage.tsx
@@ -19,7 +19,7 @@ export function GenericResultViewImage({
19
<div className="rfs-relative">
20
<GenericResultViewImageCarousel images={previewImage} title={title} />
21
<Dialog>
22
- <DialogTrigger>
+ <DialogTrigger asChild>
23
<Button
24
size="icon"
25
variant={"outline"}
@@ -36,9 +36,9 @@ export function GenericResultViewImage({
36
</div>
37
) : (
38
39
+ <DialogTrigger className="rfs-justify-center rfs-flex">
40
<img
41
- className="md:rfs-max-h-[200px] md:rfs-max-w-[200px] rfs-object-contain"
+ className="md:rfs-max-h-[200px] md:rfs-max-w-[200px] rfs-max-h-full rfs-object-contain"
42
src={previewImage}
43
alt={`Preview for ${title}`}
44
/>
0 commit comments