Reorganizing for Apple users

Safari restricts the size of the webpage on iPhone/iPad, causing the "Create table" button to be hidden behind the chat.
This commit is contained in:
PhallenCassidy
2019-08-10 09:15:31 -04:00
committed by GitHub
parent af57ff3634
commit 508186581b

View File

@@ -69,7 +69,7 @@ var GempLotrHallUI = Class.extend({
this.pocketDiv.css({"float":"right", width:95, height:18});
this.buttonsDiv.append(this.pocketDiv);
this.supportedFormatsSelect = $("<select style='width: 220px'></select>");
this.supportedFormatsSelect = $("<select style='width: 180px'></select>");
this.supportedFormatsSelect.hide();
this.createTableButton = $("<button>Create table</button>");
@@ -91,7 +91,7 @@ var GempLotrHallUI = Class.extend({
this.decksSelect = $("<select style='width: 220px'></select>");
this.decksSelect.hide();
this.timerSelect = $("<select style='width: 170px'></select>");
this.timerSelect = $("<select style='width: 135px'></select>");
this.addTimer("default", "Default Speed (80m/5m)");
this.addTimer("blitz", "Blitz! (30m/2m)");
this.addTimer("slow", "Slow (2h/10m)");
@@ -742,4 +742,4 @@ var GempLotrHallUI = Class.extend({
}, 100);
}
}
});
});