From 3a44b18d91d4aa4aac19872350f6c0ce286a2dbb Mon Sep 17 00:00:00 2001 From: daydensteve Date: Sun, 3 Nov 2024 19:27:20 -0500 Subject: [PATCH] fixed erroneously wide trophy select --- titles/chuni/templates/chuni_avatar.jinja | 2 +- titles/chuni/templates/chuni_userbox.jinja | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/titles/chuni/templates/chuni_avatar.jinja b/titles/chuni/templates/chuni_avatar.jinja index f53ce5c..5ca909b 100644 --- a/titles/chuni/templates/chuni_avatar.jinja +++ b/titles/chuni/templates/chuni_avatar.jinja @@ -269,7 +269,7 @@ function resizePage() { // Dont put fewer than 4 per row 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)); // update the locations of the
diff --git a/titles/chuni/templates/chuni_userbox.jinja b/titles/chuni/templates/chuni_userbox.jinja index bd64943..fbc0110 100644 --- a/titles/chuni/templates/chuni_userbox.jinja +++ b/titles/chuni/templates/chuni_userbox.jinja @@ -44,7 +44,7 @@ Nameplate:
Trophy:
- {% for item in trophies.values() %} {% endfor %} @@ -224,7 +224,7 @@ function resizePage() { // Dont put fewer than 4 per row 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)); // update the locations of the