mirror of
https://github.com/JonasunderscoreJones/jonasjones.dev.git
synced 2025-10-22 16:39:18 +02:00
Fixed mobile project view
This commit is contained in:
parent
29703a1706
commit
63b86344cf
2 changed files with 12 additions and 2 deletions
|
@ -128,4 +128,10 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 620px) {
|
||||
.project-topline {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue