Six home columns with smaller tiles

The home grid gets 6 columns (7 on wider screens), 60px rows, 36px icons and
smaller labels, so more icons fit in each row and on the screen.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NYASJ6JNxhYwNNJK7ypK2V
This commit is contained in:
Claude committed 2026-10-22 06:30:09 +00:00
1 parent 20b2cf199c
commit 146c735b1b
4 files changed
+8 -8

No files matched your search

+2 -2
View File
@@ -629,7 +629,7 @@ def view_resize_bar() -> None:
def widget_rows(h: i32) -> i32:
"""Rows of app tiles nearest to a widget height in CSS px, at least one."""
k: i32 = (h + 8 + 36) // 72
k: i32 = (h + 8 + 34) // 68
if k < 1:
k = 1
return k
@@ -644,7 +644,7 @@ def view_home_slot(i: i32) -> None:
cls_if("lifted", i == lifted)
cls_if("resizing", i == resizing)
attr_num("data-slot", i)
# Its height spans whole rows of app tiles (64px rows, 8px gaps; style.css).
# Its height spans whole rows of app tiles (60px rows, 8px gaps; style.css).
s_set(scratch, "grid-row:span ")
s_add_num(scratch, widget_rows(hh[i]))
if hw[i] > 0: