Fixing UI to make it work on iPhone even better.

This commit is contained in:
marcins78@gmail.com
2011-09-02 20:30:01 +00:00
parent d9e6d3c7da
commit af43e6f2d4

View File

@@ -137,7 +137,7 @@ var GempLotrUI = Class.extend({
},
displayCardInfo: function(card) {
this.infoDialog.html("<div><div style='float: left;'><img src='" + card.imageUrl + "' height='260'></div><div id='cardEffects'></div></div>");
this.infoDialog.html("<div><div style='float: left;'><img src='" + card.imageUrl + "' height='250'></div><div id='cardEffects'></div></div>");
var cardId = card.cardId;
if (cardId.length < 4 || cardId.substring(0, 4) != "temp")
@@ -187,7 +187,7 @@ var GempLotrUI = Class.extend({
$(".ui-dialog-titlebar-close").hide();
this.infoDialog = $("<div style='overflow: scroll'></div>")
this.infoDialog = $("<div></div>")
.dialog({
autoOpen: false,
closeOnEscape: true,