style: corrige espaçamento entre labels e inputs no perfil (debt)

This commit is contained in:
GoHorse Deploy 2026-03-07 17:59:02 -03:00
parent c6765024bb
commit 42e52fca7b

View file

@ -223,7 +223,7 @@ export default function ProfilePage() {
<form onSubmit={handleSubmit} className="space-y-4"> <form onSubmit={handleSubmit} className="space-y-4">
<div className="grid grid-cols-1 md:grid-cols-2 gap-4"> <div className="grid grid-cols-1 md:grid-cols-2 gap-4">
<div> <div className="space-y-2">
<Label htmlFor="name">Full name</Label> <Label htmlFor="name">Full name</Label>
<Input <Input
id="name" id="name"
@ -231,7 +231,7 @@ export default function ProfilePage() {
onChange={(e) => handleInputChange("fullName", e.target.value)} onChange={(e) => handleInputChange("fullName", e.target.value)}
/> />
</div> </div>
<div> <div className="space-y-2">
<Label htmlFor="email">Email</Label> <Label htmlFor="email">Email</Label>
<Input <Input
id="email" id="email"
@ -242,7 +242,7 @@ export default function ProfilePage() {
</div> </div>
</div> </div>
<div> <div className="space-y-2">
<Label htmlFor="phone">Phone</Label> <Label htmlFor="phone">Phone</Label>
<Input <Input
id="phone" id="phone"
@ -251,7 +251,7 @@ export default function ProfilePage() {
/> />
</div> </div>
<div> <div className="space-y-2">
<Label htmlFor="bio">Bio</Label> <Label htmlFor="bio">Bio</Label>
<RichTextEditor <RichTextEditor
value={formData.bio} value={formData.bio}
@ -276,7 +276,7 @@ export default function ProfilePage() {
</CardHeader> </CardHeader>
<CardContent> <CardContent>
<form onSubmit={handlePasswordSubmit} className="space-y-4"> <form onSubmit={handlePasswordSubmit} className="space-y-4">
<div> <div className="space-y-2">
<Label htmlFor="currentPassword">Current password</Label> <Label htmlFor="currentPassword">Current password</Label>
<Input <Input
id="currentPassword" id="currentPassword"
@ -287,7 +287,7 @@ export default function ProfilePage() {
</div> </div>
<div className="grid grid-cols-1 md:grid-cols-2 gap-4"> <div className="grid grid-cols-1 md:grid-cols-2 gap-4">
<div> <div className="space-y-2">
<Label htmlFor="newPassword">New password</Label> <Label htmlFor="newPassword">New password</Label>
<Input <Input
id="newPassword" id="newPassword"
@ -296,7 +296,7 @@ export default function ProfilePage() {
onChange={(e) => handlePasswordChange("newPassword", e.target.value)} onChange={(e) => handlePasswordChange("newPassword", e.target.value)}
/> />
</div> </div>
<div> <div className="space-y-2">
<Label htmlFor="confirmPassword">Confirm new password</Label> <Label htmlFor="confirmPassword">Confirm new password</Label>
<Input <Input
id="confirmPassword" id="confirmPassword"
@ -328,7 +328,7 @@ export default function ProfilePage() {
<CardContent> <CardContent>
<form onSubmit={handleCompanySubmit} className="space-y-4"> <form onSubmit={handleCompanySubmit} className="space-y-4">
<div className="grid grid-cols-1 md:grid-cols-2 gap-4"> <div className="grid grid-cols-1 md:grid-cols-2 gap-4">
<div> <div className="space-y-2">
<Label htmlFor="companyName">Company Name</Label> <Label htmlFor="companyName">Company Name</Label>
<Input <Input
id="companyName" id="companyName"
@ -336,7 +336,7 @@ export default function ProfilePage() {
onChange={(e) => handleCompanyChange("name", e.target.value)} onChange={(e) => handleCompanyChange("name", e.target.value)}
/> />
</div> </div>
<div> <div className="space-y-2">
<Label htmlFor="companyEmail">Company Email</Label> <Label htmlFor="companyEmail">Company Email</Label>
<Input <Input
id="companyEmail" id="companyEmail"
@ -348,7 +348,7 @@ export default function ProfilePage() {
</div> </div>
<div className="grid grid-cols-1 md:grid-cols-2 gap-4"> <div className="grid grid-cols-1 md:grid-cols-2 gap-4">
<div> <div className="space-y-2">
<Label htmlFor="companyPhone">Phone</Label> <Label htmlFor="companyPhone">Phone</Label>
<Input <Input
id="companyPhone" id="companyPhone"
@ -356,7 +356,7 @@ export default function ProfilePage() {
onChange={(e) => handleCompanyChange("phone", e.target.value)} onChange={(e) => handleCompanyChange("phone", e.target.value)}
/> />
</div> </div>
<div> <div className="space-y-2">
<Label htmlFor="companyWebsite">Website</Label> <Label htmlFor="companyWebsite">Website</Label>
<Input <Input
id="companyWebsite" id="companyWebsite"
@ -367,7 +367,7 @@ export default function ProfilePage() {
</div> </div>
</div> </div>
<div> <div className="space-y-2">
<Label htmlFor="companyDescription">Description</Label> <Label htmlFor="companyDescription">Description</Label>
<Textarea <Textarea
id="companyDescription" id="companyDescription"