diff --git a/src/cmps/BoardDetails.jsx b/src/cmps/BoardDetails.jsx index a832ce4..347534b 100644 --- a/src/cmps/BoardDetails.jsx +++ b/src/cmps/BoardDetails.jsx @@ -55,8 +55,7 @@ const BoardDetails = () => { const labels = ["item", "priority", "status", "members", "date", "+"]; const progress = [null, null, "priority", "status", "members", "date"]; - - const handleCheckBoxClick = (groupId, taskId) => { + const handleCheckBoxClick = (groupId, taskId) => { console.log(groupId, taskId); console.log(checkedBoxes); setCheckedBoxes((prev) => { diff --git a/src/cmps/dynamicCmps/Members.jsx b/src/cmps/dynamicCmps/Members.jsx index a4ce030..1255061 100644 --- a/src/cmps/dynamicCmps/Members.jsx +++ b/src/cmps/dynamicCmps/Members.jsx @@ -6,6 +6,9 @@ import { useSelector } from "react-redux"; export function Members({ cellId, group, task, members, onTaskUpdate, users }) { const openModalId = useSelector(state => state.boardModule.openModal) const modal = (openModalId === cellId) + useEffect(() => { + console.log(members) + }, []) const modalRef = useRef(null) const membersCellRef = useRef(null) diff --git a/src/cmps/dynamicCmps/modals/ChatModal.jsx b/src/cmps/dynamicCmps/modals/ChatModal.jsx index 4894e59..e5dd896 100644 --- a/src/cmps/dynamicCmps/modals/ChatModal.jsx +++ b/src/cmps/dynamicCmps/modals/ChatModal.jsx @@ -89,7 +89,7 @@ export function ChatModal({ return (
- + {/* Edit Task Title */} diff --git a/src/styles/_mondayIndex.scss b/src/styles/_mondayIndex.scss index ced4fe1..1de177b 100644 --- a/src/styles/_mondayIndex.scss +++ b/src/styles/_mondayIndex.scss @@ -8,7 +8,7 @@ display: grid; grid-template-columns: 200px 1fr; gap: 10px; - height: calc(100vh - 60px); /* Adjust based on the height of AppHeader */ + height: 100%; } header { @@ -25,4 +25,6 @@ header { grid-column: 2 / 3; height: 100%; overflow-y: auto; + display: grid; + grid-template-rows: 100px 1fr; } \ No newline at end of file diff --git a/src/styles/dynamicCmps/modals/_ChatModal.scss b/src/styles/dynamicCmps/modals/_ChatModal.scss index 469a220..8b7eed4 100644 --- a/src/styles/dynamicCmps/modals/_ChatModal.scss +++ b/src/styles/dynamicCmps/modals/_ChatModal.scss @@ -2,12 +2,12 @@ position: relative; .chat-modal { - z-index: 10; + z-index: 100; position: absolute; top: 0px; // temporary right: 0px; // temporary width: 50%; - height: 100%; + height: 600px; background-color: white; border: solid black 2px; border-radius: 5px;