mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-05-18 17:34:52 +00:00
Renamed the folders and containers to something more reasonable Using .env file for secretes so I can better hide them from git Mostly it, I think
6 lines
180 B
JavaScript
6 lines
180 B
JavaScript
function keepRatio() {
|
|
let games = document.querySelectorAll(".game-box");
|
|
games.forEach((game) => {
|
|
game.style.height = (game.offsetWidth * 1.5) + "px";
|
|
});
|
|
}
|