Back to five home columns
This reverts commit 146c735. V wants more rows, not more columns.
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:
4 files changed
+8
-8
No files matched your search
+2
-2
@@ -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 + 34) // 68
|
||||
k: i32 = (h + 8 + 36) // 72
|
||||
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 (60px rows, 8px gaps; style.css).
|
||||
# Its height spans whole rows of app tiles (64px rows, 8px gaps; style.css).
|
||||
s_set(scratch, "grid-row:span ")
|
||||
s_add_num(scratch, widget_rows(hh[i]))
|
||||
if hw[i] > 0:
|
||||
|
||||
Reference in new issue
Block a user