Fixed modalSelect

This commit is contained in:
MaxOvs19 2023-05-04 09:49:39 +03:00
parent bb027d003f
commit 87fb04e422
10 changed files with 10 additions and 3 deletions

View File

@ -62,7 +62,6 @@ export const ProjectTiket = ({ project, index }) => {
0
)}
</span>
{/*<span className="add">{project.columns.length ? '+' : ''}</span>*/}
<span className="menu-settings" onClick={() => setModalSelect(true)}>
...
</span>

View File

@ -83,7 +83,6 @@
color: #6f6f6f;
right: 0;
top: -35%;
z-index: 999;
@media (max-width: 430px) {
display: none;

View File

@ -157,7 +157,7 @@ export const ModalAdd = ({ active, setActive, selectedTab, defautlInput }) => {
</div>
</div>
<button className="button-add" onClick={(e) => e.preventDefault()}>
Добавить
Сохранить
</button>
<span className="exit" onClick={() => setActive(false)}></span>
</div>

View File

@ -5,6 +5,7 @@ import "./modalSelect.scss";
export const ModalSelect = ({ active, children }) => {
return (
<div className={active ? "project__settings active" : "project__settings "}>
<span className="project__settings-ellipsis">...</span>
{children}
</div>
);

View File

@ -21,6 +21,14 @@
}
}
}
&-ellipsis {
position: absolute;
top: -2px;
left: 10px;
font-size: 21px;
color: #6f6f6f;
}
}
&__settings.active {