fix: onboarding ui fix (#1225)

This commit is contained in:
Anmol Singh Bhatia 2023-06-07 01:56:58 +05:30 committed by GitHub
parent 684df96969
commit 40d2990565
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 14 deletions

View file

@ -103,10 +103,10 @@ export const CreateWorkspaceForm: React.FC<Props> = ({
return (
<form className="flex h-full w-full flex-col" onSubmit={handleSubmit(handleCreateWorkspace)}>
<div className="divide-y h-[255px]">
<div className="flex flex-col justify-between gap-3.5 px-7 pb-3.5">
<div className="flex flex-col items-start justify-center gap-2.5">
<span className="text-sm">Workspace name</span>
<div className="divide-y h-[280px]">
<div className="flex flex-col justify-between gap-3 px-7 pb-3.5">
<div className="flex flex-col items-start justify-center gap-1">
<span className="mb-1.5 text-sm">Workspace name</span>
<Input
name="name"
register={register}
@ -125,8 +125,8 @@ export const CreateWorkspaceForm: React.FC<Props> = ({
error={errors.name}
/>
</div>
<div className="flex flex-col items-start justify-center gap-2.5">
<span className="text-sm">Workspace URL</span>
<div className="flex flex-col items-start justify-center gap-1">
<span className="mb-1.5 text-sm">Workspace URL</span>
<div className="flex w-full items-center rounded-md border border-brand-base px-3">
<span className="whitespace-nowrap text-sm text-brand-secondary">
{typeof window !== "undefined" && window.location.origin}/
@ -156,8 +156,8 @@ export const CreateWorkspaceForm: React.FC<Props> = ({
</div>
</div>
<div className="flex flex-col items-start justify-center gap-2.5 border-t border-brand-base px-7 pt-3.5 ">
<span className="text-sm">How large is your company?</span>
<div className="flex flex-col items-start justify-center gap-1 border-t border-brand-base px-7 pt-3.5 ">
<span className="mb-1.5 text-sm">How large is your company?</span>
<div className="w-full">
<Controller
name="company_size"