From c7a8ce706099bba07f4872411bb137b70503e367 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Wed, 22 Jan 2025 19:13:15 -0500 Subject: [PATCH] apps: display: grid. --- apps/apps.json | 2 +- apps/apps/app.js | 21 +++++++++++++++++---- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/apps/apps.json b/apps/apps.json index 89ce58e1..1072c804 100644 --- a/apps/apps.json +++ b/apps/apps.json @@ -1,5 +1,5 @@ { "type": "tildefriends-app", "emoji": "💻", - "previous": "&OFzapemXnBpvXSLlNLy3JQHdTT1wJzmBVjUcpiYf8SQ=.sha256" + "previous": "&sFRTDn/RpxP1NJeECXHrXKwCRUJsEOEDVaCMPl50zpM=.sha256" } diff --git a/apps/apps/app.js b/apps/apps/app.js index 19ceafb2..f1998eff 100644 --- a/apps/apps/app.js +++ b/apps/apps/app.js @@ -68,6 +68,16 @@ async function main() { margin: 8px; } + .iconbox { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); + } + + .iconbox::after { + content: ""; + flex: auto; + } + .app { height: 96px; width: 64px; @@ -87,24 +97,27 @@ async function main() { `; const body = ` -

Welcome to Tilde Friends

+

Welcome to Tilde Friends

-
+

Your Apps

+
-
+

Shared Apps

+
-
+

Core Apps

+
`;