diff options
author | mat <github@matdoes.dev> | 2022-03-04 21:11:35 -0600 |
---|---|---|
committer | mat <github@matdoes.dev> | 2022-03-04 21:11:35 -0600 |
commit | 453872fa0587040cf56f5ba72d92042542836afc (patch) | |
tree | 6fe78463d46023045030e860033a3c94a0dd2fe5 | |
parent | 962377bd7e76e3929a85f50dae821d40002aeea9 (diff) | |
download | skyblock-stats-453872fa0587040cf56f5ba72d92042542836afc.tar.gz skyblock-stats-453872fa0587040cf56f5ba72d92042542836afc.tar.bz2 skyblock-stats-453872fa0587040cf56f5ba72d92042542836afc.zip |
move skills when screen is too small
-rw-r--r-- | src/routes/player/[player]/[profile].svelte | 8 | ||||
-rw-r--r-- | svelte.config.js | 1 |
2 files changed, 8 insertions, 1 deletions
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; + } + } </style> 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/' |