**Fix: Increase Monopoly popup dialog height and padding**

Adjust the popup dialog dimensions in MonopolyGame.js to improve content visibility and spacing. Increases maximum height from 620px to 800px and bottom padding from 20px to 48px.
This commit is contained in:
Brian Fertig 2026-06-16 18:10:26 -06:00
parent 833a214c24
commit 1e153b34ef
1 changed files with 1 additions and 1 deletions

View File

@ -1287,7 +1287,7 @@ export default class MonopolyGame extends Phaser.Scene {
]; ];
const pw = 440, itemH = 48; const pw = 440, itemH = 48;
const ph = Math.min(620, 60 + items.length * (itemH + 8) + 20); const ph = Math.min(800, 60 + items.length * (itemH + 8) + 48);
const px = GAME_WIDTH/2 - pw/2, py = GAME_HEIGHT/2 - ph/2; const px = GAME_WIDTH/2 - pw/2, py = GAME_HEIGHT/2 - ph/2;
const overlay = this.add.graphics().setDepth(DEPTH.popup - 1); const overlay = this.add.graphics().setDepth(DEPTH.popup - 1);