Einige Styling änderungen

This commit is contained in:
2025-04-17 10:56:26 +02:00
parent f2c3496e71
commit 4f337778df
2 changed files with 2 additions and 17 deletions

View File

@@ -9,7 +9,7 @@ class Playground{
this.game = game; this.game = game;
this.uiManager = uiManager; this.uiManager = uiManager;
this.tileSize = Math.floor(window.innerHeight / playgroundSize.height); this.tileSize = Math.floor((window.innerHeight - 10) / playgroundSize.height);
// Canvas erstellen // Canvas erstellen
this.canvas = document.createElement("canvas"); this.canvas = document.createElement("canvas");

View File

@@ -36,18 +36,3 @@ img{
align-items: center; align-items: center;
justify-content: space-evenly; justify-content: space-evenly;
} }
.backgroundTile,
.overlayTile {
position: absolute;
top: 0;
left: 0;
}
.backgroundTile {
z-index: 0;
}
.overlayTile {
z-index: 1;
}