There was an error while loading. Please reload this page.
1 parent d3d4b5e commit b9f4eddCopy full SHA for b9f4edd
1 file changed
apps/web/ui/analytics/device-icon.tsx
@@ -12,6 +12,7 @@ import {
12
Watch,
13
Window,
14
} from "@dub/ui/icons";
15
+import { cn } from "@dub/utils";
16
import { TRIGGER_DISPLAY } from "./trigger-display";
17
18
export function DeviceIcon({
@@ -56,7 +57,8 @@ export function DeviceIcon({
56
57
alt={display}
58
width={20}
59
height={20}
- className={className}
60
+ // Non-square sources (e.g. Facebook/Instagram at 3:2) squash without this
61
+ className={cn(className, "object-cover")}
62
/>
63
);
64
}
0 commit comments