Could someone help me figure out why the shop listings are so far apart? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Could someone help me figure out why the shop listings are so far apart?

As the title says I'm trying to figure out why my shop listings are so far apart. Didn't include the js as I didn't see it as neccesary for this issue. Any help is appreciated ty https://www.sololearn.com/en/compiler-playground/WsVG3EUU8jh4 Also sorry if the page looks really weird in the sololearn compiler it was designed for a regular browser

30th Apr 2024, 1:37 AM
Simon Sokoloff
Simon Sokoloff - avatar
1 Antwort
+ 1
What's your target resolution? As I shrink or expand my browser window, your shop window moves. You could nest your shop window div into your game window div to contain it. Or you could design for various resolutions with media queries.
30th Apr 2024, 2:55 AM
Chris Coder
Chris Coder - avatar