From a3bb9e2764b415901fb2475c03f6fdb8a736d4fa Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 17 Sep 2026 09:20:22 +0200 Subject: feat: put the weather card under the clock, scale its type to width Placement is column 1 row 2, directly beneath the clock, which drops to a single-row cell to make room. The card's type now scales off the cell WIDTH rather than its height. Scaling off height meant the text shrank every time the cell got shorter, and beside the clock's numerals the card read as a whisper. Width is the stable dimension for this layout and is what constrains the text anyway, since the stat rows run edge to edge. Verified against the live dashboard, not only the offscreen render: the two disagreed about type size precisely because the offscreen harness was cropped to the card and never showed it next to the clock. Co-Authored-By: Claude Opus 5 --- docs/superpowers/plans/2026-09-17-weather-widget.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/superpowers/plans/2026-09-17-weather-widget.md b/docs/superpowers/plans/2026-09-17-weather-widget.md index 14bf11f..3288c8f 100644 --- a/docs/superpowers/plans/2026-09-17-weather-widget.md +++ b/docs/superpowers/plans/2026-09-17-weather-widget.md @@ -1065,10 +1065,10 @@ In `dashboard.lua`, replace the `layout` table: ```lua local layout = { { widget = 'clock', col = 1, row = 1, w = 1, h = 2 }, - -- 1x1, not 1x2: the card's content is about 350px tall, so a full-height - -- cell left a dead band down its middle. A single-row cell is as tall as - -- what it holds. - { widget = 'weather', col = 2, row = 1, w = 1, h = 1 }, + -- Under the clock, same column. 1x1 rather than a full-height cell: the + -- card's content is about 350px tall and a taller cell left a dead band + -- down its middle. + { widget = 'weather', col = 1, row = 2, w = 1, h = 1 }, } ``` -- cgit v1.2.3