Fixed mobile project view

This commit is contained in:
Jonas_Jones 2023-10-03 14:27:15 +02:00
parent 29703a1706
commit 63b86344cf
2 changed files with 12 additions and 2 deletions

View file

@ -128,4 +128,10 @@
display: flex;
align-items: center;
}
@media only screen and (max-width: 620px) {
.project-topline {
flex-direction: column;
}
}
</style>

View file

@ -147,7 +147,7 @@
.project-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
grid-template-columns: repeat(auto-fit, minmax(530px, 1fr));
gap: 20px;
width: 100%;
}
@ -158,7 +158,7 @@
overflow: hidden;
cursor: pointer;
border: 2px solid var(--project-border-color);
min-width: 200px;
min-width: 530px;
background-color: var(--background-color);
}
@ -195,5 +195,9 @@
.project-container {
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.project {
min-width: 200px;
}
}
</style>