mirror of
https://github.com/BradNut/boredgame
synced 2025-09-08 17:40:22 +00:00
Fixing mobile preferences and single game page.
This commit is contained in:
parent
7c947b7f48
commit
11e85a45d7
3 changed files with 18 additions and 12 deletions
|
|
@ -81,8 +81,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.game-container {
|
.game-container {
|
||||||
/* display: grid; */
|
|
||||||
/* grid-template-rows: minmax(25px, 50px) 1fr minmax(50px, 75px); */
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -124,16 +124,6 @@
|
||||||
max-width: 180px;
|
max-width: 180px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// @media (min-width: 650px) {
|
|
||||||
// .preferences {
|
|
||||||
// width: 500px;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// .preferences .options > :global(*) {
|
|
||||||
// gap: var(--spacing-64);
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
@media (min-width: 480px) {
|
@media (min-width: 480px) {
|
||||||
.preferences {
|
.preferences {
|
||||||
width: 500px;
|
width: 500px;
|
||||||
|
|
@ -143,4 +133,14 @@
|
||||||
gap: var(--spacing-32);
|
gap: var(--spacing-32);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (min-width: 350px) {
|
||||||
|
.preferences {
|
||||||
|
width: 420px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.preferences .options > :global(*) {
|
||||||
|
gap: var(--spacing-32);
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -141,6 +141,10 @@
|
||||||
grid-template-columns: 1fr 1fr;
|
grid-template-columns: 1fr 1fr;
|
||||||
gap: 2rem;
|
gap: 2rem;
|
||||||
margin: 1rem;
|
margin: 1rem;
|
||||||
|
|
||||||
|
@media (max-width: 650px) {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.details {
|
.details {
|
||||||
|
|
@ -153,6 +157,10 @@
|
||||||
p {
|
p {
|
||||||
margin: 1rem;
|
margin: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 650px) {
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.description {
|
.description {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue