Skip to content

Commit

Permalink
fix: add gap above change name button
Browse files Browse the repository at this point in the history
  • Loading branch information
7H3XXX committed Jun 8, 2024
1 parent 241ebde commit dc6cc91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/edit-username-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@ export default function EditUsernameForm({ setOpen }: EditUsernameFormProps) {
<FormItem>
<FormLabel>Name</FormLabel>
<FormControl>
<div className="md:flex gap-4">
<div className="md:flex md:gap-4 space-y-4 md:space-y-0">
<Input
{...field}
type="text"
value={name}
onChange={(e) => handleChange(e)}
/>
<Button type="submit">Change name</Button>
<Button type="submit" className="w-full md:w-fit">Change name</Button>
</div>
</FormControl>
<FormMessage />
Expand Down

0 comments on commit dc6cc91

Please sign in to comment.