forked from github/plane
fix: quick add positioning (#2949)
* fix quick add posutioning for kanban and spreadsheet * fix kanban quick add project identifier
This commit is contained in:
parent
2556d052de
commit
139c0857eb
@ -102,7 +102,7 @@ const GroupByKanBan: React.FC<IGroupByKanBan> = observer((props) => {
|
||||
)}
|
||||
|
||||
<div
|
||||
className={`min-h-[150px] h-full ${
|
||||
className={`min-h-[150px] ${
|
||||
verticalAlignPosition(_list) ? `w-[0px] overflow-hidden` : `w-full transition-all`
|
||||
}`}
|
||||
>
|
||||
|
@ -15,7 +15,7 @@ import { createIssuePayload } from "helpers/issue.helper";
|
||||
import { IIssue, IProject } from "types";
|
||||
|
||||
const Inputs = (props: any) => {
|
||||
const { register, setFocus, projectDetails } = props;
|
||||
const { register, setFocus, projectDetail } = props;
|
||||
|
||||
useEffect(() => {
|
||||
setFocus("name");
|
||||
@ -23,7 +23,7 @@ const Inputs = (props: any) => {
|
||||
|
||||
return (
|
||||
<div>
|
||||
<h4 className="text-xs font-medium leading-5 text-custom-text-300">{projectDetails?.identifier ?? "..."}</h4>
|
||||
<h4 className="text-xs font-medium leading-5 text-custom-text-300">{projectDetail?.identifier ?? "..."}</h4>
|
||||
<input
|
||||
autoComplete="off"
|
||||
placeholder="Issue Title"
|
||||
|
@ -84,7 +84,7 @@ export const SpreadsheetView: React.FC<Props> = observer((props) => {
|
||||
<div className="h-full w-full flex flex-col">
|
||||
<div
|
||||
ref={containerRef}
|
||||
className="flex max-h-full h-full overflow-y-auto divide-x-[0.5px] divide-custom-border-200 horizontal-scroll-enable"
|
||||
className="flex overflow-y-auto divide-x-[0.5px] divide-custom-border-200 horizontal-scroll-enable"
|
||||
>
|
||||
{issues && issues.length > 0 ? (
|
||||
<>
|
||||
|
Loading…
Reference in New Issue
Block a user