fixed erroneously wide trophy select
This commit is contained in:
parent
c8186ccef0
commit
3a44b18d91
@ -269,7 +269,7 @@ function resizePage() {
|
|||||||
// Dont put fewer than 4 per row
|
// Dont put fewer than 4 per row
|
||||||
numPerRow = Math.max(numPerRow, 4);
|
numPerRow = Math.max(numPerRow, 4);
|
||||||
|
|
||||||
// Dont populate more than 6 rows
|
// Dont populate more than 8 rows
|
||||||
numPerRow = Math.max(numPerRow, Math.ceil(accessories[type][total_items] / 8));
|
numPerRow = Math.max(numPerRow, Math.ceil(accessories[type][total_items] / 8));
|
||||||
|
|
||||||
// update the locations of the <br>
|
// update the locations of the <br>
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
<tr><td>Nameplate:</td><td style="width: 80%;"><div id="name_nameplate"></div></td></tr>
|
<tr><td>Nameplate:</td><td style="width: 80%;"><div id="name_nameplate"></div></td></tr>
|
||||||
|
|
||||||
<tr><td>Trophy:</td><td><div id="name_trophy">
|
<tr><td>Trophy:</td><td><div id="name_trophy">
|
||||||
<select name="trophy" id="trophy" onchange="changeTrophy()">
|
<select name="trophy" id="trophy" onchange="changeTrophy()" style="width:100%;">
|
||||||
{% for item in trophies.values() %}
|
{% for item in trophies.values() %}
|
||||||
<option value="{{ item["id"] }}" class="trophy-rank{{ item["rarity"] }}">{{ item["name"] }}</option>
|
<option value="{{ item["id"] }}" class="trophy-rank{{ item["rarity"] }}">{{ item["name"] }}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@ -224,7 +224,7 @@ function resizePage() {
|
|||||||
// Dont put fewer than 4 per row
|
// Dont put fewer than 4 per row
|
||||||
numPerRow = Math.max(numPerRow, 4);
|
numPerRow = Math.max(numPerRow, 4);
|
||||||
|
|
||||||
// Dont populate more than 6 rows
|
// Dont populate more than 8 rows
|
||||||
numPerRow = Math.max(numPerRow, Math.ceil(userbox_components[type][total_items] / 8));
|
numPerRow = Math.max(numPerRow, Math.ceil(userbox_components[type][total_items] / 8));
|
||||||
|
|
||||||
// update the locations of the <br>
|
// update the locations of the <br>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user