TypeScript
fix(web): update toast download badge no longer hides behind the provider logo (#18401)
Theo Browne1d58b82eadd0
diff --git a/apps/web/src/components/ProviderUpdatePrimaryNotification.tsx b/apps/web/src/components/ProviderUpdatePrimaryNotification.tsxindex 98b3e71dac2..e8af85c9923 100644--- a/apps/web/src/components/ProviderUpdatePrimaryNotification.tsx+++ b/apps/web/src/components/ProviderUpdatePrimaryNotification.tsx@@ -54,7 +54,8 @@ function ProviderUpdateToastIcon({ provider }: { provider: ServerProvider }) {acpRegistryIconUrl={provider.iconUrl}iconClassName="size-4"/>- <span className="absolute -right-1 -bottom-1 inline-flex size-3 items-center justify-center rounded-full bg-popover">+ {/* ProviderInstanceIcon stacks at z-30, so the badge must sit above it. */}+ <span className="absolute -right-1 -bottom-1 z-40 inline-flex size-3 items-center justify-center rounded-full bg-popover"><DownloadIcon aria-hidden="true" className="size-2.5 text-success" strokeWidth={2.5} /></span></span>