diff --git a/src/components/ArchiveTableTracker/ArchiveTableTracker.jsx b/src/components/ArchiveTableTracker/ArchiveTableTracker.jsx index ac500591..71148cfd 100644 --- a/src/components/ArchiveTableTracker/ArchiveTableTracker.jsx +++ b/src/components/ArchiveTableTracker/ArchiveTableTracker.jsx @@ -24,9 +24,13 @@ const ArchiveTableTracker = ({ filterCompleteTasks, loader }) => { ); }) ) : ( -
-

В данном месяце у вас не было задач

-
+ + +
+

В данном месяце у вас не было задач

+
+ + )} )} diff --git a/src/components/Common/ModalLayout/modalLayout.scss b/src/components/Common/ModalLayout/modalLayout.scss index 1b314672..b803a061 100644 --- a/src/components/Common/ModalLayout/modalLayout.scss +++ b/src/components/Common/ModalLayout/modalLayout.scss @@ -135,7 +135,7 @@ .edit-column { // background: linear-gradient(180deg, #fff 0%, #ebebeb 37.29%); .title-project { - margin-top: 20px; + margin-top: 8px; } .button-add { margin-top: 8px; diff --git a/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx b/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx index 299380d9..cd175b11 100644 --- a/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx +++ b/src/components/Modal/Tracker/TicketFullScreen/TicketFullScreen.jsx @@ -972,7 +972,7 @@ export const TicketFullScreen = () => {
- Длительность : + Длительность:

{correctTimerTime(currentTimerCount.hours)}: {correctTimerTime(currentTimerCount.minute)}: diff --git a/src/components/Modal/Tracker/TrackerModal/TrackerModal.jsx b/src/components/Modal/Tracker/TrackerModal/TrackerModal.jsx index 4850b042..1f0a413e 100644 --- a/src/components/Modal/Tracker/TrackerModal/TrackerModal.jsx +++ b/src/components/Modal/Tracker/TrackerModal/TrackerModal.jsx @@ -793,55 +793,49 @@ export const TrackerModal = ({ {modalType === "edit-column" && (

-

Введите новое название

-
- dispatch(setColumnName(e.target.value))} - /> +
+

Название колонки

+
+ dispatch(setColumnName(e.target.value))} + /> +
-

Приоритет колонки

-
- setSelectColumnPriorityOpen(!selectColumnPriorityOpen) - } - > - {selectColumnPriority} - arrow - {selectColumnPriorityOpen && ( -
- {projectBoard.columns.map((column, index) => { - return ( - { - setSelectColumnPriority(index + 1); - dispatch(setColumnPriority(index + 1)); - }} - > - {index + 1} - - ); - })} -
- )} +
+

Приоритет колонки

+
+ setSelectColumnPriorityOpen(!selectColumnPriorityOpen) + } + > + {selectColumnPriority} + arrow + {selectColumnPriorityOpen && ( +
+ {projectBoard.columns.map((column, index) => { + return ( + { + setSelectColumnPriority(index + 1); + dispatch(setColumnPriority(index + 1)); + }} + > + {index + 1} + + ); + })} +
+ )} +
- {/*
*/} - {/* dispatch(setColumnPriority(e.target.value))}*/} - {/* />*/} - {/*
*/}
Сохранить diff --git a/src/components/Modal/Tracker/TrackerModal/trackerModal.scss b/src/components/Modal/Tracker/TrackerModal/trackerModal.scss index 6dfede96..5d7560ba 100644 --- a/src/components/Modal/Tracker/TrackerModal/trackerModal.scss +++ b/src/components/Modal/Tracker/TrackerModal/trackerModal.scss @@ -30,13 +30,12 @@ display: flex; align-items: center; flex-direction: column; - row-gap: 8px; - padding-bottom: 10px; + row-gap: 12px; + padding-bottom: 15px; .select-priority { background-color: white; width: 100%; - margin: 12px 0; padding: 10px 8px; border-radius: 8px; font-size: 14px; diff --git a/src/pages/ProjectTracker/ProjectTracker.js b/src/pages/ProjectTracker/ProjectTracker.js index 976330fa..323bc54a 100644 --- a/src/pages/ProjectTracker/ProjectTracker.js +++ b/src/pages/ProjectTracker/ProjectTracker.js @@ -397,15 +397,8 @@ export const ProjectTracker = () => { div.classList.contains("tags__list")) ) ) { - setTags({ - open: false, - add: false, - edit: false - }); - setTagInfo({ - description: "", - name: "" - }); + setTags({ open: false, add: false, edit: false }); + setTagInfo({ description: "", name: "" }); setColor("#aabbcc"); } @@ -962,20 +955,11 @@ export const ProjectTracker = () => { src={commentsBoard} alt="commentsImg" /> - - {task.comment_count}{" "} - {/* {caseOfNum( - task.comment_count, - "comments" - )} */} - + {task.comment_count}
filesImg - - {task.file_count ? task.file_count : 0}{" "} - {/* {caseOfNum(0, "files")} */} - + {task.file_count}