From 10f923b51e2844486651493b44974e418a2be6d9 Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Tue, 11 Aug 2026 12:54:27 -0400 Subject: Mitigate placeholder layout shift --- cgithub/views/_tree.eta | 7 ++++++- cgithub/views/repo.eta | 5 ++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'cgithub') diff --git a/cgithub/views/_tree.eta b/cgithub/views/_tree.eta index 2eb445f..fc7707b 100644 --- a/cgithub/views/_tree.eta +++ b/cgithub/views/_tree.eta @@ -1,7 +1,12 @@ <%~ include("./_nav.eta", {...it, isTree: true}) %> <% const commitPath = it.path && it.path !== "/" ? it.path : ""; %> -
Loading latest commit…
+
+
+
…
+
…
+
+
<% for (const item of it.items) { %> diff --git a/cgithub/views/repo.eta b/cgithub/views/repo.eta index 9122594..1bff97f 100644 --- a/cgithub/views/repo.eta +++ b/cgithub/views/repo.eta @@ -29,6 +29,9 @@ <% } %> -
Loading languages…
+
+
+ +
<%~ include("./_tree", it) %> -- cgit v1.3.1