fix project cards

This commit is contained in:
Victor Batischev 2024-04-02 18:29:03 +03:00
parent b19e00d98f
commit 140d4689fe
3 changed files with 10 additions and 12 deletions

View File

@ -108,17 +108,12 @@ export const ProjectTicket = ({ project, index }) => {
</div> </div>
</Link> </Link>
{/* <Link <Link
to={`/profile/statistics/${project.id}`} to={`/profile/statistics/${project.id}`}
className="project__statistics" className="project-stats"
> >
Посмотреть статистику Посмотреть статистику
</Link> */} </Link>
<span className="project-stats" onClick={() => {}}>
Просмотреть <br />
статистику проекта
</span>
<span <span
className="menu-settings" className="menu-settings"

View File

@ -3,7 +3,7 @@
flex-direction: column; flex-direction: column;
position: relative; position: relative;
width: 22%; width: 22%;
height: 170px; height: 140px;
background: #f1f1f1; background: #f1f1f1;
border-radius: 12px; border-radius: 12px;
@ -90,7 +90,7 @@
color: #678eda; color: #678eda;
position: absolute; position: absolute;
left: 18px; left: 18px;
bottom: 10px; bottom: 16px;
} }
.menu-settings { .menu-settings {

View File

@ -130,7 +130,6 @@
row-gap: 30px; row-gap: 30px;
display: none; display: none;
align-items: center; align-items: center;
justify-content: center;
@media (max-width: 785px) { @media (max-width: 785px) {
row-gap: 25px; row-gap: 25px;
@ -163,7 +162,7 @@
.create-project-btn { .create-project-btn {
width: 22%; width: 22%;
height: 170px; height: 140px;
border-radius: 12px; border-radius: 12px;
background: #ecf8e5; background: #ecf8e5;
color: #000000; color: #000000;
@ -191,6 +190,10 @@
img { img {
margin: 0 20px 0 0; margin: 0 20px 0 0;
} }
p {
text-align: left;
}
} }
&:hover { &:hover {