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 0
)} )}
</span> </span>
{/*<span className="add">{project.columns.length ? '+' : ''}</span>*/}
<span className="menu-settings" onClick={() => setModalSelect(true)}> <span className="menu-settings" onClick={() => setModalSelect(true)}>
... ...
</span> </span>

View File

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

View File

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

View File

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

View File

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