Skip to content

Commit 84eccfe

Browse files
Merge pull request #32 from devlopersabbir/sabbir
[chore 🎶] change styles 🤷‍♀️
2 parents fc2f0da + 20d3f6a commit 84eccfe

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

src/components/forms/CreateProfile.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const CreateProfile = ({
5555
/** image handler */
5656
const handleImage = async (
5757
event: ChangeEvent<HTMLInputElement>,
58-
fieldChange: (value: string) => void,
58+
fieldChange: (value: string) => void
5959
) => {
6060
event.preventDefault();
6161
/** File reader */
@@ -107,12 +107,12 @@ const CreateProfile = ({
107107
control={form.control}
108108
name="profileImage"
109109
render={({ field }) => (
110-
<FormItem className="flex-center w-40 h-40 relative cursor-pointer">
110+
<FormItem className="flex-center w-56 h-56 relative cursor-pointer overflow-hidden rounded-full shadow-xl">
111111
{field.value ? (
112112
<Image
113113
src={field.value}
114-
width={160}
115-
height={160}
114+
width={224}
115+
height={224}
116116
alt="profile photo"
117117
objectFit="cover"
118118
priority

src/components/shared/sidebar/ProfileAdd.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const ProfileAdd = () => {
3535
</DialogTrigger>
3636

3737
{/* diolog content */}
38-
<DialogContent className="sm:max-w-[640px] p-0 overflow-y-scroll h-[70vh]">
38+
<DialogContent className="sm:max-w-[740px] p-0 overflow-y-scroll h-[80vh]">
3939
<DialogHeader className="p-5">
4040
<DialogTitle>Add Profile</DialogTitle>
4141
</DialogHeader>

src/components/shared/sidebar/Sidebar.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ const Sidebar = () => {
3232
alt="donate button"
3333
width={130}
3434
height={80}
35-
objectFit="cover"
3635
/>
3736
</Link>
3837
<Link

0 commit comments

Comments
 (0)