From d223f582fa8ebc2d05112ec03f40f8e7f21fc1af Mon Sep 17 00:00:00 2001 From: Lucas 'Paperboy' Rose-Winters Date: Tue, 4 Nov 2025 09:39:47 +1100 Subject: [PATCH] fix(dashboard): correct Recent Events widget width to fill container The Recent Events widget was appearing as a narrow "little calendar thing" instead of filling the full container width. The root cause was that .rpg-events-widget container was missing `width: 100%`. Changes: - Add `width: 100%` to .rpg-events-widget (style.css:2517) This makes the notebook container fill the full widget width - Remove incorrect `width: 100%` from .rpg-notebook-line (was at line 2597) This was a previous incorrect fix targeting child elements instead of parent The parent .rpg-dashboard-widget has `align-items: center`, which causes flex children without explicit width to shrink to content width. Adding `width: 100%` to the widget container ensures it stretches to fill the allocated grid cell. Fixes: #sceneinfo-width Related: commit aa50b24 (reverted incorrect fix) --- style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index 93705f4..13d82f5 100644 --- a/style.css +++ b/style.css @@ -2513,7 +2513,8 @@ body:has(.rpg-panel.rpg-position-left) #sheld { min-height: 0; overflow: visible; position: relative; - height: 100%; /* Fill parent container */ + height: 100%; /* Fill parent container vertically */ + width: 100%; /* Fill parent container horizontally */ flex: 1; /* Participate in flex layout */ } @@ -2594,7 +2595,6 @@ body:has(.rpg-panel.rpg-position-left) #sheld { align-items: flex-start; gap: 0.375em; position: relative; - width: 100%; /* Force line to fill parent width */ } .rpg-notebook-line.rpg-event-add {