From fd5328e019c48bada69a0fe2adbbdb83437afb11 Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Mon, 16 Feb 2026 16:59:05 +0200 Subject: [PATCH] appview/pages: fix alignment of lastCommitPanel on mobile Signed-off-by: Anirudh Oppiliappan --- .../templates/repo/fragments/lastCommitPanel.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/appview/pages/templates/repo/fragments/lastCommitPanel.html b/appview/pages/templates/repo/fragments/lastCommitPanel.html index 4a3c4eb0..9e675dd2 100644 --- a/appview/pages/templates/repo/fragments/lastCommitPanel.html +++ b/appview/pages/templates/repo/fragments/lastCommitPanel.html @@ -1,7 +1,7 @@ {{ define "repo/fragments/lastCommitPanel" }} {{ $messageParts := splitN .LastCommitInfo.Message "\n\n" 2 }} -
-
+
+
{{ if .LastCommitInfo.Author }} {{ $authorDid := index .EmailToDid .LastCommitInfo.Author.Email }} @@ -12,18 +12,18 @@ {{ .LastCommitInfo.Author.Name }} {{ end }} - + {{ end }} {{ index $messageParts 0 }} - + {{ template "repo/fragments/time" .LastCommitInfo.When }}
+ class="no-underline hover:underline text-gray-700 dark:text-gray-300 bg-gray-100 dark:bg-gray-900 px-2 py-1 rounded font-mono text-xs w-fit"> {{ slice .LastCommitInfo.Hash.String 0 8 }}
-{{ end }} +{{ end }} \ No newline at end of file -- 2.51.2