π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
fix: remove member button alignment (#3862)
Aaryan Khandelwal666b7ea5775a
diff --git a/web/components/workspace/send-workspace-invitation-modal.tsx b/web/components/workspace/send-workspace-invitation-modal.tsxindex 35b5963d09..25f4c3c729 100644--- a/web/components/workspace/send-workspace-invitation-modal.tsx+++ b/web/components/workspace/send-workspace-invitation-modal.tsx@@ -121,7 +121,7 @@ export const SendWorkspaceInvitationModal: React.FC<Props> = observer((props) =><div className="mb-3 space-y-4">{fields.map((field, index) => (- <div key={field.id} className="group relative grid grid-cols-11 gap-4">+ <div key={field.id} className="group relative grid grid-cols-11 items-start gap-4"><div className="col-span-7"><Controllercontrol={control}@@ -155,7 +155,7 @@ export const SendWorkspaceInvitationModal: React.FC<Props> = observer((props) =>)}/></div>- <div className="col-span-3">+ <div className="col-span-3 flex items-center gap-2"><Controllercontrol={control}name={`emails.${index}.role`}@@ -166,6 +166,7 @@ export const SendWorkspaceInvitationModal: React.FC<Props> = observer((props) =>label={<span className="text-xs sm:text-sm">{ROLE[value]}</span>}onChange={onChange}optionsClassName="w-full"+ className="flex-grow"input>{Object.entries(ROLE).map(([key, value]) => {@@ -179,16 +180,16 @@ export const SendWorkspaceInvitationModal: React.FC<Props> = observer((props) =></CustomSelect>)}/>+ {fields.length > 1 && (+ <button+ type="button"+ className="grid place-items-center self-center rounded flex-shrink-0"+ onClick={() => remove(index)}+ >+ <X className="h-3.5 w-3.5 text-custom-text-200" />+ </button>+ )}</div>- {fields.length > 1 && (- <button- type="button"- className="-ml-3 place-items-center self-center rounded"- onClick={() => remove(index)}- >- <X className="h-3.5 w-3.5 text-custom-text-200" />- </button>- )}</div>))}</div>