From d6aec149366b3bcfe6faf0715714e63413f49b97 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 13 Mar 2026 21:23:10 -0500 Subject: [PATCH] Fix edit profile avatar/banner hover: keep pencil badge visible and replace camera icons with pencil --- src/components/ProfileCard.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/ProfileCard.tsx b/src/components/ProfileCard.tsx index c15a7083..b0310b81 100644 --- a/src/components/ProfileCard.tsx +++ b/src/components/ProfileCard.tsx @@ -2,7 +2,7 @@ import React, { useMemo, useState } from 'react'; import type { NostrMetadata } from '@nostrify/nostrify'; import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'; import { type AvatarShape, isValidAvatarShape, isEmoji, getEmojiMaskUrl } from '@/lib/avatarShape'; -import { Camera, CheckCircle2, Pencil, Plus, Trash2, ChevronDown, ImagePlus, SmilePlus, X as XIcon } from 'lucide-react'; +import { CheckCircle2, Pencil, Plus, Trash2, ChevronDown, ImagePlus, SmilePlus, X as XIcon } from 'lucide-react'; import { genUserName } from '@/lib/genUserName'; import { cn } from '@/lib/utils'; import { getNip05Domain, formatNip05Display } from '@/lib/nip05'; @@ -172,10 +172,10 @@ export function ProfileCard({ <>
- {metadata.banner ? 'Change banner' : 'Add banner'} + {metadata.banner ? 'Change banner' : 'Add banner'}
-
+
@@ -205,9 +205,9 @@ export function ProfileCard({ )} style={overlayMaskStyle} > - +
-
+