diff options
author | mat <github@matdoes.dev> | 2022-03-19 17:47:56 -0500 |
---|---|---|
committer | mat <github@matdoes.dev> | 2022-03-19 17:47:56 -0500 |
commit | 701c2752cea451049dabe8197ab2bfbef949285d (patch) | |
tree | e3e8e646c445d80f4e0689d7468a90138cc36a3f /src | |
parent | 91eec9a7c7540d2ae2a368a77af1015c549c3ab5 (diff) | |
download | skyblock-stats-701c2752cea451049dabe8197ab2bfbef949285d.tar.gz skyblock-stats-701c2752cea451049dabe8197ab2bfbef949285d.tar.bz2 skyblock-stats-701c2752cea451049dabe8197ab2bfbef949285d.zip |
Fix sizing of items on small screens
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/sections/Inventories.svelte | 4 | ||||
-rw-r--r-- | src/routes/loggedin.ts | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/sections/Inventories.svelte b/src/lib/sections/Inventories.svelte index 84480ea..80966ef 100644 --- a/src/lib/sections/Inventories.svelte +++ b/src/lib/sections/Inventories.svelte @@ -126,13 +126,13 @@ } @media only screen and (max-width: 480px) { - .inventory-content:global(#inventory .item) { + .inventory-content :global(.item) { /* there's no good way to override the existing 32px size without !important :( */ font-size: 24px !important; } } @media only screen and (max-width: 350px) { - .inventory-content:global(#inventory .item) { + .inventory-content :global(.item) { font-size: 16px !important; } } diff --git a/src/routes/loggedin.ts b/src/routes/loggedin.ts index 10e8a24..0397130 100644 --- a/src/routes/loggedin.ts +++ b/src/routes/loggedin.ts @@ -1,6 +1,5 @@ import { API_URL } from '$lib/api' import type { RequestHandler } from '@sveltejs/kit' -import type { JSONValue } from '@sveltejs/kit/types/internal' export const get: RequestHandler = async ({ url }) => { const code = url.searchParams.get('code') |