diff --git a/src/app/components/Setting/index.tsx b/src/app/components/Setting/index.tsx index a0c3ed0fdd..dd7fbd9909 100644 --- a/src/app/components/Setting/index.tsx +++ b/src/app/components/Setting/index.tsx @@ -1,19 +1,27 @@ +import { classNames } from "~/app/utils"; + type Props = { title: string; subtitle: string | React.ReactNode; children: React.ReactNode; + inline?: boolean; }; -function Setting({ title, subtitle, children }: Props) { +function Setting({ title, subtitle, children, inline }: Props) { return ( -
+
{title}

{subtitle}

- {children} +
{children}
); } diff --git a/src/app/screens/Accounts/Detail/index.tsx b/src/app/screens/Accounts/Detail/index.tsx index f2d6e5a4a5..bdf367841f 100644 --- a/src/app/screens/Accounts/Detail/index.tsx +++ b/src/app/screens/Accounts/Detail/index.tsx @@ -191,9 +191,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" > -
+
-
+