From 6168cff79abc8c889c5aee8a2a19b8529e7f8387 Mon Sep 17 00:00:00 2001 From: Waleed Date: Thu, 9 Jul 2026 13:57:18 -0700 Subject: [PATCH] fix(icons): fix Meta icon clipping in model dropdown (#5542) MetaIcon's viewBox (265x165) was smaller than the true bounding box of its three path elements (287.56x191, computed from the actual path geometry), so the bottom-right of the mark was silently clipped by the SVG viewport. It was also non-square, so the dropdown row's forced 14x14 icon slot letterboxed it asymmetrically instead of filling it like every other provider icon. Fixed the viewBox to the exact computed bounding box, padded to a square and vertically centered (0 -48.28 287.56 287.56) - matches the sibling icon convention (GeminiIcon, etc.) of a square viewBox filling the icon slot edge to edge. Verified by rasterizing both the old and new viewBox at the actual deployed 14px size. --- apps/sim/components/icons.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/sim/components/icons.tsx b/apps/sim/components/icons.tsx index c2b6ed56e2..09d00b0e7c 100644 --- a/apps/sim/components/icons.tsx +++ b/apps/sim/components/icons.tsx @@ -3696,7 +3696,7 @@ export function MetaIcon(props: SVGProps) {