diff --git a/.changeset/cuddly-numbers-return.md b/.changeset/cuddly-numbers-return.md new file mode 100644 index 0000000..35a4bb7 --- /dev/null +++ b/.changeset/cuddly-numbers-return.md @@ -0,0 +1,5 @@ +--- +"ottawa-boardgame-sell-bgg": minor +--- + +feat: make the list mobile-friendly diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 22e2d7f..0a94655 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -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; + } + } diff --git a/src/routes/GameList.svelte b/src/routes/GameList.svelte index c2a4b4a..e5ee804 100644 --- a/src/routes/GameList.svelte +++ b/src/routes/GameList.svelte @@ -2,11 +2,11 @@ {#each games as game}
-
+