From d78fb98e7e6ea8e411a012dae52c0b8b0e4b120a Mon Sep 17 00:00:00 2001 From: "marcins78@gmail.com" Date: Sat, 29 Oct 2011 14:04:00 +0000 Subject: [PATCH] Making the infoDialog bigger for deck builder. --- gemp-lotr/gemp-lotr-web/src/main/webapp/js/deckBuildingUi.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/deckBuildingUi.js b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/deckBuildingUi.js index f18e9da16..8f76a34ff 100644 --- a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/deckBuildingUi.js +++ b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/deckBuildingUi.js @@ -347,8 +347,8 @@ var GempLotrDeckBuildingUI = Class.extend({ title: "Card information", minHeight: 80, minWidth: 200, - width: 600, - height: 300 + width: Math.max(600, width * 0.75), + height: Math.max(300, height * 0.75) }); var swipeOptions = {