fix(sandbox-provider): fix config modal subtitle icon to fill container

This commit is contained in:
yyh 2026-01-13 11:11:03 +08:00
parent a81d0327d2
commit 49f115dce3
No known key found for this signature in database

View File

@ -33,11 +33,11 @@ const ProviderIcon = ({ providerType }: { providerType: string }) => {
const iconSrc = PROVIDER_ICONS[providerType] || PROVIDER_ICONS.e2b
return (
<div className="flex h-4 w-4 shrink-0 items-center justify-center text-clip rounded border-[0.5px] border-divider-subtle">
<div className="h-4 w-4 shrink-0 text-clip rounded border-[0.5px] border-divider-subtle">
<img
src={iconSrc}
alt={`${providerType} icon`}
className="h-4 w-4"
className="h-full w-full object-cover"
/>
</div>
)