diff options
| author | Md Saban <45597394+mdsaban@users.noreply.github.com> | 2024-06-23 17:39:40 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-23 13:09:40 +0100 |
| commit | a63713032ff6b15b80348f724246e7abea40c8a4 (patch) | |
| tree | 159801228f4702104feb827c3e78236253a79cff /apps/web/components/dashboard/settings/ChangePassword.tsx | |
| parent | 1071095435ceb7030955bfdd9fc594e1a43c121b (diff) | |
| download | karakeep-a63713032ff6b15b80348f724246e7abea40c8a4.tar.zst | |
ui: Changes for user settings page (#251)
* fix: ui refactoring for user settings page
* fix: type error
* fix: pr comments
Diffstat (limited to 'apps/web/components/dashboard/settings/ChangePassword.tsx')
| -rw-r--r-- | apps/web/components/dashboard/settings/ChangePassword.tsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/web/components/dashboard/settings/ChangePassword.tsx b/apps/web/components/dashboard/settings/ChangePassword.tsx index 070caee8..aa27f223 100644 --- a/apps/web/components/dashboard/settings/ChangePassword.tsx +++ b/apps/web/components/dashboard/settings/ChangePassword.tsx @@ -11,7 +11,6 @@ import { FormMessage, } from "@/components/ui/form"; import { Input } from "@/components/ui/input"; -import { Separator } from "@/components/ui/separator"; import { toast } from "@/components/ui/use-toast"; import { api } from "@/lib/trpc"; import { zodResolver } from "@hookform/resolvers/zod"; @@ -54,13 +53,14 @@ export function ChangePassword() { } return ( - <div className="w-full pt-4"> - <span className="text-xl">Change Password</span> - <Separator className="my-2" /> + <div className="flex flex-col sm:flex-row"> + <div className="mb-4 w-full text-lg font-medium sm:w-1/3"> + Change Password + </div> <Form {...form}> <form onSubmit={form.handleSubmit(onSubmit)} - className="flex flex-col gap-2 pt-4 lg:w-1/2" + className="flex w-full flex-col gap-2" > <FormField control={form.control} @@ -120,7 +120,7 @@ export function ChangePassword() { }} /> <ActionButton - className="h-full" + className="mt-4 h-10 w-max px-8" type="submit" loading={mutator.isPending} > |
