fix: update widget sizing for 1080p screens - Scene, Inventory, and Quests tabs

**Scene Tab (presentCharacters):**
- Desktop: 3×2 (wide and short, fits 1080p viewport)
- Mobile: 2×4 (narrow and tall for vertical stacking)

**Inventory Tab:**
- Desktop: 3×7 (full width, spacious) instead of 2×6
- Mobile: 2×5 (full width, compact)

**Quests Tab:**
- Desktop: 3×7 (full width, spacious) instead of 2×5
- Mobile: 2×5 (full width, compact)

All widgets now use full width at their respective column counts and
are properly sized to fit within 1080p screens without scrolling off.
This commit is contained in:
Lucas 'Paperboy' Rose-Winters
2025-11-06 20:50:16 +11:00
parent 53a1eb1469
commit 1fd6720e6b
4 changed files with 15 additions and 15 deletions
@@ -395,18 +395,18 @@ export function registerQuestsWidget(registry, dependencies) {
description: 'Quest tracking with main and optional quests',
category: 'quests',
minSize: { w: 2, h: 4 },
// Column-aware sizing: compact on mobile, spacious on desktop
// Column-aware sizing: compact on mobile, full width on desktop
defaultSize: (columns) => {
if (columns <= 2) {
return { w: 2, h: 4 }; // Mobile: 2×4 (full width, compact)
return { w: 2, h: 5 }; // Mobile: 2×5 (full width, compact)
}
return { w: 2, h: 5 }; // Desktop: 2×5 (default)
return { w: 3, h: 7 }; // Desktop: 3×7 (full width, spacious for 1080p)
},
maxAutoSize: (columns) => {
if (columns <= 2) {
return { w: 2, h: 7 }; // Mobile: 2×7 max (increased for expansion headroom)
return { w: 2, h: 8 }; // Mobile: 2×8 max
}
return { w: 3, h: 7 }; // Desktop: 3×7 max (can expand)
return { w: 3, h: 10 }; // Desktop: 3×10 max (can expand)
},
requiresSchema: false,