Pi66

git.pi66.xyz
A web interface for the pi66.xyz Git server
git clone https://git.pi66.xyz/git.pi66.xyz

← back to log

style: fix vertically center status letter in diffstat row in commit page.

author: pi66
date: 2026-07-22 23:45
hash: 01c56b965bae7755f2bd2b318cd5ea7c0dee8a9a

Diffstat:

M

src/templates/Log-commit.html
2 +++++++++++++++---------------
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
diff --git a/src/templates/Log-commit.html b/src/templates/Log-commit.html
index aca5195..d209308 100644
--- a/src/templates/Log-commit.html
+++ b/src/templates/Log-commit.html
@@ -18,7 +18,7 @@
    <tbody>
 {% for b in bars %}
        <tr>
-           <td class="!text-gray-400 flex gap-2.5"><p class="flex gap-2.5"><strong>{{b.file.status}}</strong></p>  {{b.file.name}}</td>
+           <td class="!text-gray-400 flex items-center gap-2.5"><p class="flex gap-2.5"><strong>{{b.file.status}}</strong></p>  {{b.file.name}}</td>
            <td class="!text-right !text-gray-400">{{b.total}}</td>
            <td>
                <span class="!text-green-500">{{ "+" * b.add_width }}</span><span class="!text-red-500">{{ "-" * b.del_width }}</span>