fix: onboarding ui fix (#1225)
This commit is contained in:
parent
684df96969
commit
40d2990565
3 changed files with 15 additions and 14 deletions
|
|
@ -76,8 +76,8 @@ export const UserDetails: React.FC<Props> = ({ user, setStep, setUserRole }) =>
|
|||
</div>
|
||||
|
||||
<div className="flex flex-col justify-between gap-4 px-7 py-3.5 sm:flex-row">
|
||||
<div className="flex flex-col items-start justify-center gap-2.5 w-full sm:w-1/2">
|
||||
<span>First name</span>
|
||||
<div className="flex flex-col items-start justify-center gap-1 w-full sm:w-1/2">
|
||||
<span className="mb-1.5">First name</span>
|
||||
<Input
|
||||
name="first_name"
|
||||
autoComplete="off"
|
||||
|
|
@ -88,8 +88,8 @@ export const UserDetails: React.FC<Props> = ({ user, setStep, setUserRole }) =>
|
|||
error={errors.first_name}
|
||||
/>
|
||||
</div>
|
||||
<div className="flex flex-col items-start justify-center gap-2.5 w-full sm:w-1/2">
|
||||
<span>Last name</span>
|
||||
<div className="flex flex-col items-start justify-center gap-1 w-full sm:w-1/2">
|
||||
<span className="mb-1.5">Last name</span>
|
||||
<Input
|
||||
name="last_name"
|
||||
autoComplete="off"
|
||||
|
|
@ -128,6 +128,7 @@ export const UserDetails: React.FC<Props> = ({ user, setStep, setUserRole }) =>
|
|||
</CustomSelect>
|
||||
)}
|
||||
/>
|
||||
{errors.role && <span className="text-sm text-red-500">{errors.role.message}</span>}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ export const Workspace: React.FC<Props> = ({ setStep, setWorkspace, user }) => {
|
|||
<div className="grid w-full place-items-center">
|
||||
<Tab.Group
|
||||
as="div"
|
||||
className="flex h-[417px] w-full max-w-xl flex-col justify-between rounded-[10px] bg-brand-base shadow-md"
|
||||
className="flex h-[442px] w-full max-w-xl flex-col justify-between rounded-[10px] bg-brand-base shadow-md"
|
||||
defaultIndex={currentTabValue(currentTab)}
|
||||
onChange={(i) => {
|
||||
switch (i) {
|
||||
|
|
@ -130,7 +130,7 @@ export const Workspace: React.FC<Props> = ({ setStep, setWorkspace, user }) => {
|
|||
<Tab.Panels as="div" className="h-full">
|
||||
<Tab.Panel className="h-full">
|
||||
<div className="flex h-full w-full flex-col">
|
||||
<div className="h-[255px] overflow-y-auto px-7">
|
||||
<div className="h-[280px] overflow-y-auto px-7">
|
||||
{invitations && invitations.length > 0 ? (
|
||||
invitations.map((invitation) => (
|
||||
<div key={invitation.id}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue