t Merge branch 'mobile-view'
This commit is contained in:
commit
1e28e7a3b0
5
.changeset/cuddly-numbers-return.md
Normal file
5
.changeset/cuddly-numbers-return.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"ottawa-boardgame-sell-bgg": minor
|
||||
---
|
||||
|
||||
feat: make the list mobile-friendly
|
@ -77,4 +77,15 @@
|
||||
td {
|
||||
font-size: var(--font-size-10);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 730px) {
|
||||
h1 {
|
||||
font-size: var(--font-size-12);
|
||||
}
|
||||
p {
|
||||
font-size: inherit;
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
@ -2,11 +2,11 @@
|
||||
{#each games as game}
|
||||
<div class="grid top-align">
|
||||
<a
|
||||
class="s2"
|
||||
class="s12 m2"
|
||||
target="_blank"
|
||||
href={`https://boardgamegeek.com/boardgame/${game.bgg_id}`}>
|
||||
<img src={game.thumbnail} height="80" /></a>
|
||||
<div class="grid s10">
|
||||
<div class="grid s12 m10">
|
||||
<div class="s8 left-align">
|
||||
<strong>
|
||||
<a
|
||||
|
Loading…
Reference in New Issue
Block a user