fix adaptive layout in project list
This commit is contained in:
@ -201,7 +201,7 @@ export const Tracker = () => {
|
||||
)) &&
|
||||
!loader && (
|
||||
<div className="no-projects">
|
||||
<div className="no-projects__createNew">
|
||||
<div className="no-projects__create-new">
|
||||
<div>
|
||||
<img src={noProjects} alt="noProjectImg" />
|
||||
<p>Создайте свой первый проект</p>
|
||||
@ -251,7 +251,7 @@ export const Tracker = () => {
|
||||
<p>
|
||||
{25} - {35}
|
||||
</p>
|
||||
<h2>Сентября,</h2>
|
||||
<h3>Сентября,</h3>
|
||||
<h3>2023</h3>
|
||||
</div>
|
||||
|
||||
|
@ -145,10 +145,10 @@
|
||||
row-gap: 30px;
|
||||
display: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
@media (max-width: 785px) {
|
||||
row-gap: 25px;
|
||||
justify-content: center;
|
||||
padding: 0 15px 20px;
|
||||
}
|
||||
|
||||
@ -158,7 +158,7 @@
|
||||
padding: 20px;
|
||||
width: 100%;
|
||||
|
||||
&__createNew {
|
||||
&__create-new {
|
||||
display: flex;
|
||||
div {
|
||||
display: flex;
|
||||
@ -177,14 +177,11 @@
|
||||
}
|
||||
|
||||
.create-project-btn {
|
||||
max-width: 322px;
|
||||
width: 322px;
|
||||
height: 166px;
|
||||
width: 300px;
|
||||
height: 113px;
|
||||
border-radius: 12px;
|
||||
background: #ecf8e5;
|
||||
color: #000000;
|
||||
font-weight: 400;
|
||||
font-size: 15px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@ -192,10 +189,9 @@
|
||||
|
||||
&__text {
|
||||
text-align: left;
|
||||
font-size: 14px;
|
||||
font-weight: 250;
|
||||
width: 190px;
|
||||
margin-left: 25px;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
@ -203,10 +199,13 @@
|
||||
box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.11);
|
||||
}
|
||||
|
||||
@media (max-width: 650px) {
|
||||
height: 40px;
|
||||
font-size: 12px;
|
||||
height: 166px;
|
||||
@media (max-width: 1068px) {
|
||||
width: 47%;
|
||||
}
|
||||
|
||||
@media (max-width: 785px) {
|
||||
max-width: 394px;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user