From ad0ce41b2cdfb2d4748c453b7d508c04c9dc656a Mon Sep 17 00:00:00 2001 From: pavanjoshi914 Date: Fri, 22 Dec 2023 16:35:43 +0530 Subject: [PATCH 1/3] feat: make account settings and settings component responsive --- src/app/components/Setting/index.tsx | 2 +- src/app/screens/Accounts/Detail/index.tsx | 42 +++++++++++------------ 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/app/components/Setting/index.tsx b/src/app/components/Setting/index.tsx index a0c3ed0fdd..4adab6f055 100644 --- a/src/app/components/Setting/index.tsx +++ b/src/app/components/Setting/index.tsx @@ -6,7 +6,7 @@ type Props = { function Setting({ title, subtitle, children }: Props) { return ( -
+
{title}

diff --git a/src/app/screens/Accounts/Detail/index.tsx b/src/app/screens/Accounts/Detail/index.tsx index e0df33cead..03d54494a1 100644 --- a/src/app/screens/Accounts/Detail/index.tsx +++ b/src/app/screens/Accounts/Detail/index.tsx @@ -189,9 +189,9 @@ function AccountDetail() { updatedAccount.name = accountName; setAccount(updatedAccount); }} - className="flex justify-between items-end" + className="flex flex-col sm:flex-row justify-between items-center" > -

+
-
+