fix(dashboard): resolve presentCharacters widget styling and auto-layout issues

- Remove double left border accent on character cards by hiding inner border when inside widget container
- Increase maxAutoSize width from 3 to 4 columns to support large displays
- Fix viewport height calculation to use visible area instead of scrollable container height
- Change auto-layout boundary check from > to >= to prevent widgets extending beyond viewport
- Add Done button for cleaner edit mode exit UX
- Wire up Done button event listener in dashboardIntegration
This commit is contained in:
Lucas 'Paperboy' Rose-Winters
2025-10-26 14:52:02 +11:00
parent 8317471922
commit 6af499b07a
6 changed files with 47 additions and 14 deletions
@@ -238,7 +238,7 @@ export function registerPresentCharactersWidget(registry, dependencies) {
category: 'scene',
minSize: { w: 2, h: 2 },
defaultSize: { w: 2, h: 3 },
maxAutoSize: { w: 3, h: 5 }, // Max size for auto-arrange expansion
maxAutoSize: { w: 4, h: 5 }, // Max size for auto-arrange expansion (supports up to 4-col on large displays)
requiresSchema: false,
render(container, config = {}) {