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
|
<div
|
||||||
className={`min-h-[150px] h-full ${
|
className={`min-h-[150px] ${
|
||||||
verticalAlignPosition(_list) ? `w-[0px] overflow-hidden` : `w-full transition-all`
|
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";
|
import { IIssue, IProject } from "types";
|
||||||
|
|
||||||
const Inputs = (props: any) => {
|
const Inputs = (props: any) => {
|
||||||
const { register, setFocus, projectDetails } = props;
|
const { register, setFocus, projectDetail } = props;
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
setFocus("name");
|
setFocus("name");
|
||||||
@ -23,7 +23,7 @@ const Inputs = (props: any) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<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
|
<input
|
||||||
autoComplete="off"
|
autoComplete="off"
|
||||||
placeholder="Issue Title"
|
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 className="h-full w-full flex flex-col">
|
||||||
<div
|
<div
|
||||||
ref={containerRef}
|
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 ? (
|
{issues && issues.length > 0 ? (
|
||||||
<>
|
<>
|
||||||
|
Loading…
Reference in New Issue
Block a user