feat: update workspace settings general page
This commit is contained in:
parent
c7d67960b7
commit
600ed2de35
@ -72,8 +72,8 @@ export default function GeneralTab({ projectName }: { projectName: string }) {
|
||||
<div className="space-y-4">
|
||||
<div>
|
||||
<label className="text-sm font-medium text-foreground" htmlFor={nameId}>Name</label>
|
||||
<Input className="mt-2 h-10 text-sm" defaultValue={workspace?.name ?? ""} id={nameId} name="name" />
|
||||
<p className="mt-1.5 text-xs text-muted-foreground">Changing the name will also change the workspace URL.</p>
|
||||
<Input className="mt-1 h-9 text-sm" defaultValue={workspace?.name ?? ""} id={nameId} name="name" />
|
||||
<p className="mt-1 text-xs text-muted-foreground">Changing the name will also change the workspace URL.</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
@ -81,7 +81,7 @@ export default function GeneralTab({ projectName }: { projectName: string }) {
|
||||
Description <span className="font-normal text-muted-foreground">— optional</span>
|
||||
</label>
|
||||
<Textarea
|
||||
className="mt-2 min-h-[80px] text-sm"
|
||||
className="mt-1 min-h-[72px] text-sm"
|
||||
defaultValue={workspace?.description ?? ""}
|
||||
id={descId}
|
||||
name="description"
|
||||
@ -93,7 +93,7 @@ export default function GeneralTab({ projectName }: { projectName: string }) {
|
||||
<label className="text-sm font-medium text-foreground" htmlFor={avatarId}>
|
||||
Avatar <span className="font-normal text-muted-foreground">— optional</span>
|
||||
</label>
|
||||
<div className="mt-2">
|
||||
<div className="mt-1">
|
||||
<AvatarUploader
|
||||
currentUrl={workspace?.avatar_url}
|
||||
label="Workspace avatar"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user