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:
4 files changed
+8
-8
No files matched your search
+4
-4
@@ -36,10 +36,10 @@ body { margin: 0; min-height: 100vh; color: #fff; -webkit-tap-highlight-color: t
|
||||
all one height, so a widget spans whole rows of app tiles, and apps fill the cells
|
||||
beside a widget rather than leaving holes (dense packing). Keep the row height and
|
||||
row gap in sync with widget_rows in app.py. */
|
||||
.slots { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 4rem; row-gap: .5rem;
|
||||
.slots { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 3.75rem; row-gap: .5rem;
|
||||
grid-auto-flow: row dense; }
|
||||
@media (min-width: 480px) { .apps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
|
||||
.slots { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
|
||||
.slots { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
|
||||
.tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: .4rem;
|
||||
padding: .35rem .15rem; border-radius: calc(var(--radius) + 4px); cursor: pointer; }
|
||||
.tile:active { background: rgb(255 255 255 / .12); }
|
||||
@@ -49,8 +49,8 @@ body { margin: 0; min-height: 100vh; color: #fff; -webkit-tap-highlight-color: t
|
||||
.name { max-width: 100%; font-size: .75rem; line-height: 1.2; text-align: center;
|
||||
text-shadow: var(--shadow-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.slots .tile { gap: .25rem; padding: .2rem .1rem; }
|
||||
.slots .icon { width: 2.5rem; height: 2.5rem; }
|
||||
.slots .name { font-size: .68rem; }
|
||||
.slots .icon { width: 2.25rem; height: 2.25rem; }
|
||||
.slots .name { font-size: .64rem; }
|
||||
|
||||
/* A widget takes whole rows. On a phone the native widget view covers the slot;
|
||||
the label only shows while the slot is not live (or in a desktop browser). */
|
||||
|
||||
Reference in new issue
Block a user