From 2081aa8dbc2e2b8aaec0aade6f74aa61ffc3bbca Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sun, 18 Oct 2026 15:16:05 +0200 Subject: feat(details): air under the compass, no empty strip under the rows The compass goes back to the big slot's own size, leaving a gap above the WIND row. card.standard()'s height budget reserved about a fifth more than the header and rows draw; it now matches what is drawn plus a little air, which changes nothing on a card already at the size cap (compared pixel for pixel) and lets details drop to 3.75 rows at full type. sky moves up to take the space. Co-Authored-By: Claude Opus 5.5 --- widgets/details.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'widgets') diff --git a/widgets/details.lua b/widgets/details.lua index 36ce016..f5f23ad 100644 --- a/widgets/details.lua +++ b/widgets/details.lua @@ -79,8 +79,7 @@ function M.draw(cr, rect, colors) card.standard(cr, inner, colors, { icon = card.ICON.details, title = 'DETAILS', rows = rows, big = function(cr, right, top, size) - -- 1.2x the slot: the first row starts lower than the big text ends. - draw_compass(cr, right, top, size * 1.2, colors, c.wind_deg) + draw_compass(cr, right, top, size, colors, c.wind_deg) end, }) end -- cgit v1.2.3