From 15ee1e531b55a86ed81ffd6bec97243d2d7779df Mon Sep 17 00:00:00 2001
From: Majokeiko <keiko23333@gmail.com>
Date: Thu, 7 Sep 2023 16:14:42 +0800
Subject: [PATCH] feat: Subscription URL TextField use multiline (#761)

*Subscription link that are too long can make reading difficult, so use multiline TextField.
---
 src/components/profile/profile-viewer.tsx | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/components/profile/profile-viewer.tsx b/src/components/profile/profile-viewer.tsx
index 079ca1f..a368c2e 100644
--- a/src/components/profile/profile-viewer.tsx
+++ b/src/components/profile/profile-viewer.tsx
@@ -188,7 +188,12 @@ export const ProfileViewer = forwardRef<ProfileViewerRef, Props>(
               name="url"
               control={control}
               render={({ field }) => (
-                <TextField {...text} {...field} label={t("Subscription URL")} />
+                <TextField
+                  {...text}
+                  {...field}
+                  multiline
+                  label={t("Subscription URL")}
+                />
               )}
             />
 
-- 
GitLab