瀏覽代碼

fix(app): align free model logo bounds

David Hill 1 月之前
父節點
當前提交
df09cff22e
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      packages/app/src/components/prompt-input.tsx

+ 3 - 1
packages/app/src/components/prompt-input.tsx

@@ -2361,7 +2361,9 @@ function ModelProviderIcon(props: { providerID?: string; free: boolean }) {
             />
           }
         >
-          <Mark class="h-4 w-3.5 shrink-0 opacity-40 group-hover:opacity-100 transition-opacity duration-150" />
+          <span class="size-4 shrink-0 flex items-center justify-center opacity-40 group-hover:opacity-100 transition-opacity duration-150">
+            <Mark class="h-4 w-3.5" />
+          </span>
         </Show>
       )}
     </Show>