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 Answer
+ 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