fix: quick add positioning (#2949)

* fix quick add posutioning for kanban and spreadsheet

* fix kanban quick add project identifier
This commit is contained in:
rahulramesha 2023-11-30 12:22:43 +05:30 committed by sriram veeraghanta
parent c598d458f6
commit c95a6522ab
3 changed files with 4 additions and 4 deletions

View File

@ -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`
}`} }`}
> >

View File

@ -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"

View File

@ -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 ? (
<> <>