small fix

This commit is contained in:
Victor Batischev 2024-02-06 18:22:06 +03:00
parent e9235884dd
commit ef8a0813b3
6 changed files with 56 additions and 75 deletions

View File

@ -24,9 +24,13 @@ const ArchiveTableTracker = ({ filterCompleteTasks, loader }) => {
);
})
) : (
<tr>
<td>
<div className="archive__noItem">
<p>В данном месяце у вас не было задач</p>
</div>
</td>
</tr>
)}
</>
)}

View File

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

View File

@ -793,7 +793,8 @@ export const TrackerModal = ({
{modalType === "edit-column" && (
<div>
<div className="title-project">
<h4>Введите новое название</h4>
<div>
<h4>Название колонки</h4>
<div className="input-container">
<input
className="name-project"
@ -801,6 +802,8 @@ export const TrackerModal = ({
onChange={(e) => dispatch(setColumnName(e.target.value))}
/>
</div>
</div>
<div>
<h4>Приоритет колонки</h4>
<div
className={
@ -832,16 +835,7 @@ export const TrackerModal = ({
</div>
)}
</div>
{/*<div className="input-container">*/}
{/* <input*/}
{/* className="name-project"*/}
{/* placeholder="Приоритет колонки"*/}
{/* type="number"*/}
{/* step="1"*/}
{/* value={columnPriority}*/}
{/* onChange={(e) => dispatch(setColumnPriority(e.target.value))}*/}
{/* />*/}
{/*</div>*/}
</div>
</div>
<BaseButton styles={"button-add"} onClick={changeColumnParams}>
Сохранить

View File

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

View File

@ -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"
/>
<span>
{task.comment_count}{" "}
{/* {caseOfNum(
task.comment_count,
"comments"
)} */}
</span>
<span>{task.comment_count}</span>
</div>
<div className="tasks__board__item__info__more">
<img src={filesBoard} alt="filesImg" />
<span>
{task.file_count ? task.file_count : 0}{" "}
{/* {caseOfNum(0, "files")} */}
</span>
<span>{task.file_count}</span>
</div>
</div>
<TrackerSelectColumn