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/lib/sections/Inventories.svelte | |
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/lib/sections/Inventories.svelte')
-rw-r--r-- | src/lib/sections/Inventories.svelte | 4 |
1 files changed, 2 insertions, 2 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; } } |