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"> <div className="archive__noItem">
<p>В данном месяце у вас не было задач</p> <p>В данном месяце у вас не было задач</p>
</div> </div>
</td>
</tr>
)} )}
</> </>
)} )}

View File

@ -135,7 +135,7 @@
.edit-column { .edit-column {
// background: linear-gradient(180deg, #fff 0%, #ebebeb 37.29%); // background: linear-gradient(180deg, #fff 0%, #ebebeb 37.29%);
.title-project { .title-project {
margin-top: 20px; margin-top: 8px;
} }
.button-add { .button-add {
margin-top: 8px; margin-top: 8px;

View File

@ -972,7 +972,7 @@ export const TicketFullScreen = () => {
</div> </div>
<div className="time"> <div className="time">
<img src={watch}></img> <img src={watch}></img>
<span>Длительность : </span> <span>Длительность: </span>
<p> <p>
{correctTimerTime(currentTimerCount.hours)}: {correctTimerTime(currentTimerCount.hours)}:
{correctTimerTime(currentTimerCount.minute)}: {correctTimerTime(currentTimerCount.minute)}:

View File

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

View File

@ -30,13 +30,12 @@
display: flex; display: flex;
align-items: center; align-items: center;
flex-direction: column; flex-direction: column;
row-gap: 8px; row-gap: 12px;
padding-bottom: 10px; padding-bottom: 15px;
.select-priority { .select-priority {
background-color: white; background-color: white;
width: 100%; width: 100%;
margin: 12px 0;
padding: 10px 8px; padding: 10px 8px;
border-radius: 8px; border-radius: 8px;
font-size: 14px; font-size: 14px;

View File

@ -397,15 +397,8 @@ export const ProjectTracker = () => {
div.classList.contains("tags__list")) div.classList.contains("tags__list"))
) )
) { ) {
setTags({ setTags({ open: false, add: false, edit: false });
open: false, setTagInfo({ description: "", name: "" });
add: false,
edit: false
});
setTagInfo({
description: "",
name: ""
});
setColor("#aabbcc"); setColor("#aabbcc");
} }
@ -962,20 +955,11 @@ export const ProjectTracker = () => {
src={commentsBoard} src={commentsBoard}
alt="commentsImg" alt="commentsImg"
/> />
<span> <span>{task.comment_count}</span>
{task.comment_count}{" "}
{/* {caseOfNum(
task.comment_count,
"comments"
)} */}
</span>
</div> </div>
<div className="tasks__board__item__info__more"> <div className="tasks__board__item__info__more">
<img src={filesBoard} alt="filesImg" /> <img src={filesBoard} alt="filesImg" />
<span> <span>{task.file_count}</span>
{task.file_count ? task.file_count : 0}{" "}
{/* {caseOfNum(0, "files")} */}
</span>
</div> </div>
</div> </div>
<TrackerSelectColumn <TrackerSelectColumn