From 5ec12cbf107b9090de0f32eaddf7b3f03c9f120a Mon Sep 17 00:00:00 2001 From: Lucas 'Paperboy' Rose-Winters Date: Mon, 20 Oct 2025 08:43:49 +1100 Subject: [PATCH] feat(ui): add centered 'Add Item' button to all storage locations - Added persistent '+ Add Item' button at bottom of each storage location - Button is centered and always visible (whether location has 0 or many items) - Removed redundant '+ Add' button from storage location header (kept trash button) - Reverted empty state to simple message instead of special button - Added CSS for .rpg-storage-add-item-container to center button with margin - Matches UI pattern from On Person and Assets tabs - Removed debug logging from inventoryActions.js --- src/systems/rendering/inventory.js | 8 +++++--- style.css | 6 ++++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/systems/rendering/inventory.js b/src/systems/rendering/inventory.js index bb0d0c0..91a2b8d 100644 --- a/src/systems/rendering/inventory.js +++ b/src/systems/rendering/inventory.js @@ -199,9 +199,6 @@ export function renderStoredView(stored, collapsedLocations = [], viewMode = 'li
${escapeHtml(location)}
- @@ -222,6 +219,11 @@ export function renderStoredView(stored, collapsedLocations = [], viewMode = 'li
${itemsHtml}
+
+ +