refactoring allStyles styleStyle -> style-style

This commit is contained in:
2024-02-09 18:17:15 +03:00
parent 81d2ee4098
commit af07631abe
93 changed files with 751 additions and 703 deletions

View File

@ -9,14 +9,14 @@ const AllTaskTableItem = ({ task, projects }) => {
e.target?.classList.toggle("open-desc-item");
e.target
.closest("td")
?.querySelector(".taskList__table__name-project")
?.querySelector(".task-list__table__name-project")
.classList.toggle("hide-desc");
}
return (
<tr key={task.id}>
<td>
<div className="taskList__table__title-task">
<div className="task-list__table__title-task">
<p>{task.title}</p>
<img
@ -27,7 +27,7 @@ const AllTaskTableItem = ({ task, projects }) => {
}}
/>
</div>
<div className="taskList__table__name-project hide-desc">
<div className="task-list__table__name-project hide-desc">
<h4>Проект:</h4>
<p>
{projects?.map((project) => {

View File

@ -3,7 +3,7 @@
transform: rotate(45deg) !important;
}
.taskList {
.task-list {
&__table {
margin-top: 20px;
font-size: 14px;

View File

@ -34,7 +34,7 @@ const AllTaskTableTracker = ({ filteredAllTasks, projects, loader }) => {
return (
<>
<table className="taskList__table">
<table className="task-list__table">
<thead>
<tr>
<th>Задача</th>