From fd4f07797848e8e1605ce82ee4c503d92faaa1ca Mon Sep 17 00:00:00 2001 From: codytseng Date: Wed, 19 Mar 2025 22:49:03 +0800 Subject: [PATCH] fix: truncate --- src/components/RelayInfo/index.tsx | 4 +++- src/components/SearchDialog/index.tsx | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/RelayInfo/index.tsx b/src/components/RelayInfo/index.tsx index 491a5cc..e6048ff 100644 --- a/src/components/RelayInfo/index.tsx +++ b/src/components/RelayInfo/index.tsx @@ -20,7 +20,9 @@ export default function RelayInfo({ url }: { url: string }) {
-
{relayInfo.name || relayInfo.shortUrl}
+
+ {relayInfo.name || relayInfo.shortUrl} +
{!!relayInfo.tags?.length && ( diff --git a/src/components/SearchDialog/index.tsx b/src/components/SearchDialog/index.tsx index a2e8233..196f4b6 100644 --- a/src/components/SearchDialog/index.tsx +++ b/src/components/SearchDialog/index.tsx @@ -98,7 +98,7 @@ function NormalItem({ search, onClick }: { search: string; onClick?: () => void -
{search}
+
{search}
)