From 453872fa0587040cf56f5ba72d92042542836afc Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 4 Mar 2022 21:11:35 -0600 Subject: move skills when screen is too small --- src/routes/player/[player]/[profile].svelte | 8 ++++++++ svelte.config.js | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/routes/player/[player]/[profile].svelte b/src/routes/player/[player]/[profile].svelte index a5217ef..e8b601d 100644 --- a/src/routes/player/[player]/[profile].svelte +++ b/src/routes/player/[player]/[profile].svelte @@ -186,4 +186,12 @@ section { margin-bottom: 0.5em; } + + @media only screen and (max-width: 1040px) { + .profile-skills { + position: unset; + display: block; + width: max-content; + } + } diff --git a/svelte.config.js b/svelte.config.js index 9a4a558..8d6fe72 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -34,7 +34,6 @@ function shuffle(a) { return a } -console.log('svelte.config.js'); (async () => { const API_URL = 'https://skyblock-api.matdoes.dev/' -- cgit