From 684e6dd69e1fac6a1d5b265c71be2927c7aef471 Mon Sep 17 00:00:00 2001 From: yekta Date: Tue, 20 Oct 2026 02:54:26 +0000 Subject: [PATCH] web: keep the team avatar remove button in place when there's no avatar The remove button used to be unmounted when no avatar was uploaded, so the footer row shifted between the two states. Now it always renders. When there's no avatar it is disabled, hidden with opacity 0 and marked aria-hidden, so it still takes up its space. --- apps/web/src/components/team/settings/team-icon-card.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/web/src/components/team/settings/team-icon-card.tsx b/apps/web/src/components/team/settings/team-icon-card.tsx index 23c74329..34838479 100644 --- a/apps/web/src/components/team/settings/team-icon-card.tsx +++ b/apps/web/src/components/team/settings/team-icon-card.tsx @@ -90,17 +90,18 @@ export default function TeamIconCard({ className }: TProps) { <> {error && } - {canEdit && hasIcon && ( + {canEdit && (