diff --git a/src/lib/components/game/index.svelte b/src/lib/components/game/index.svelte index cae2db9..f7ff400 100644 --- a/src/lib/components/game/index.svelte +++ b/src/lib/components/game/index.svelte @@ -31,11 +31,11 @@ {#if existsInCollection} Remove {:else} Add to collection {/if} @@ -52,6 +52,7 @@ button { display: flex; justify-content: space-between; + align-items: center; gap: 1rem; width: 100%; border-radius: 10px; @@ -67,9 +68,11 @@ .game-container { display: flex; flex-wrap: wrap; - /* grid-template-columns: repeat(minmax(100px, 1fr), 3); */ - /* grid-template-columns: 1fr 1fr; */ - max-width: 300px; + + @media (max-width: 650px) { + max-width: none; + } + gap: var(--spacing-16); padding: var(--spacing-16) var(--spacing-16); transition: all 0.3s; diff --git a/src/lib/components/preferences/gameCollection.svelte b/src/lib/components/preferences/gameCollection.svelte index 1725eb0..6ed40e7 100644 --- a/src/lib/components/preferences/gameCollection.svelte +++ b/src/lib/components/preferences/gameCollection.svelte @@ -26,20 +26,15 @@
Save Clear
diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte index 49757b7..26e0cef 100644 --- a/src/routes/__layout.svelte +++ b/src/routes/__layout.svelte @@ -16,7 +16,7 @@ $: { if ($navigating) { - debounce(() => boredState.set({ loading: true }), 250); + debounce(() => {boredState.set({ loading: true });}, 250); } if (!$navigating) { boredState.set({ loading: false }); @@ -118,10 +118,11 @@ max-width: 850px; margin: 0 auto; padding: 2rem 0rem; + max-width: 80%; - @media (max-width: 850px) { + /* @media (max-width: 850px) { max-width: 80%; - } + } */ box-sizing: border-box; } diff --git a/src/routes/game/[id].svelte b/src/routes/game/[id].svelte index 0224ca1..fd57a9e 100644 --- a/src/routes/game/[id].svelte +++ b/src/routes/game/[id].svelte @@ -1,9 +1,10 @@