UI - МЕЖПРОЕКТНАЯ КОММУНИКАЦИЯ: настройки проекта, модалки и drag-and-drop канон
This commit is contained in:
@@ -24,6 +24,8 @@ function ProjectAttributes(props: Props) {
|
||||
const { t } = useTranslation();
|
||||
const { control } = useFormContext<IProject>();
|
||||
const { getIndex } = getTabIndex(ETabIndices.PROJECT_CREATE, isMobile);
|
||||
const projectAttributeChipClassName =
|
||||
"nodedc-modal-chip !h-10 !rounded-[1.25rem] !px-4 !py-2 !text-13";
|
||||
return (
|
||||
<div className="flex flex-wrap items-center gap-2">
|
||||
<Controller
|
||||
@@ -50,8 +52,8 @@ function ProjectAttributes(props: Props) {
|
||||
</div>
|
||||
}
|
||||
placement="bottom-start"
|
||||
className="h-full"
|
||||
buttonClassName="h-full"
|
||||
className="h-10"
|
||||
buttonClassName={projectAttributeChipClassName}
|
||||
noChevron
|
||||
tabIndex={getIndex("network")}
|
||||
>
|
||||
@@ -84,6 +86,9 @@ function ProjectAttributes(props: Props) {
|
||||
placeholder={t("lead")}
|
||||
multiple={false}
|
||||
buttonVariant="border-with-text"
|
||||
buttonClassName={projectAttributeChipClassName}
|
||||
buttonContainerClassName="!h-10"
|
||||
showUserDetails
|
||||
tabIndex={getIndex("lead")}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -167,8 +167,8 @@ export const CreateProjectForm = observer(function CreateProjectForm(props: TCre
|
||||
<FormProvider {...methods}>
|
||||
<ProjectCreateHeader handleClose={handleClose} isMobile={isMobile} />
|
||||
|
||||
<form onSubmit={handleSubmit(onSubmit)} className="px-3">
|
||||
<div className="mt-9 space-y-6 pb-5">
|
||||
<form onSubmit={handleSubmit(onSubmit)} className="px-6">
|
||||
<div className="mt-10 space-y-6 pb-6">
|
||||
<ProjectCommonAttributes
|
||||
setValue={setValue}
|
||||
isMobile={isMobile}
|
||||
|
||||
Reference in New Issue
Block a user