diff --git a/src/components/Image/index.tsx b/src/components/Image/index.tsx index 89ed3e86..cf912d59 100644 --- a/src/components/Image/index.tsx +++ b/src/components/Image/index.tsx @@ -73,13 +73,13 @@ export default function Image({ } return ( -
+
{/* Spacer: transparent image to maintain dimensions when image is loading */} {isLoading && dim?.width && dim?.height && ( @@ -99,14 +99,14 @@ export default function Image({ ) : ( ) : (
)) @@ -107,10 +107,10 @@ export default function ImageGallery({ imageContent = ( handlePhotoClick(e, 0)} @@ -122,8 +122,8 @@ export default function ImageGallery({ {displayImages.map((image, i) => ( handlePhotoClick(e, i)} /> @@ -136,8 +136,8 @@ export default function ImageGallery({ {displayImages.map((image, i) => ( handlePhotoClick(e, i)} /> diff --git a/src/components/ImageWithLightbox/index.tsx b/src/components/ImageWithLightbox/index.tsx index e7159a5c..e983ba0a 100644 --- a/src/components/ImageWithLightbox/index.tsx +++ b/src/components/ImageWithLightbox/index.tsx @@ -67,7 +67,7 @@ export default function ImageWithLightbox({ key={0} className={className} classNames={{ - wrapper: cn('rounded-lg border cursor-zoom-in', classNames.wrapper), + wrapper: cn('border cursor-zoom-in', classNames.wrapper), errorPlaceholder: 'aspect-square h-[30vh]', skeleton: classNames.skeleton }} diff --git a/src/components/Note/FollowPack.tsx b/src/components/Note/FollowPack.tsx index a94af550..902ab9c0 100644 --- a/src/components/Note/FollowPack.tsx +++ b/src/components/Note/FollowPack.tsx @@ -26,7 +26,7 @@ export default function FollowPack({ event, className }: { event: Event; classNa {image && ( )} diff --git a/src/components/NotificationList/NotificationItem/ReactionNotification.tsx b/src/components/NotificationList/NotificationItem/ReactionNotification.tsx index 72c15d80..6fd5eb35 100644 --- a/src/components/NotificationList/NotificationItem/ReactionNotification.tsx +++ b/src/components/NotificationList/NotificationItem/ReactionNotification.tsx @@ -40,8 +40,8 @@ export function ReactionNotification({ {emojiName}} /> ) diff --git a/src/components/ProfileBanner/index.tsx b/src/components/ProfileBanner/index.tsx index dbf025d6..c500eb27 100644 --- a/src/components/ProfileBanner/index.tsx +++ b/src/components/ProfileBanner/index.tsx @@ -1,5 +1,4 @@ import { generateImageByPubkey } from '@/lib/pubkey' -import { cn } from '@/lib/utils' import { useEffect, useMemo, useState } from 'react' import Image from '../Image' @@ -27,7 +26,10 @@ export default function ProfileBanner({ {`${pubkey} ) diff --git a/src/components/RelayInfo/index.tsx b/src/components/RelayInfo/index.tsx index 2aeff0b6..51b64316 100644 --- a/src/components/RelayInfo/index.tsx +++ b/src/components/RelayInfo/index.tsx @@ -36,9 +36,9 @@ export default function RelayInfo({ url, className }: { url: string; className?:
-
+
-
+
{relayInfo.name || relayInfo.shortUrl}
diff --git a/src/components/WebPreview/index.tsx b/src/components/WebPreview/index.tsx index 7580f697..9ad9b601 100644 --- a/src/components/WebPreview/index.tsx +++ b/src/components/WebPreview/index.tsx @@ -68,9 +68,9 @@ export default function WebPreview({ {image && (