patx/gitman

add bottom margin to commits list

Commit 574c212 · patx · 2026-05-08T02:16:47-04:00

Changeset
574c2129870f758a09da4b3b4cba8b9f658c1eb1
Parents
b45db7fe6ffefc0008a2a4009c38c12fdceb0014

View source at this commit

Comments

No comments yet.

Log in to comment

Diff

diff --git a/static/styles.css b/static/styles.css
index d9dde41..fb85cbd 100644
--- a/static/styles.css
+++ b/static/styles.css
@@ -277,7 +277,7 @@ button, .button {
 .filters .active, .tabs .active { color: var(--text); font-weight: 700; text-decoration: none; }
 .hero, .repo-tabs { margin-bottom: 1.5rem; }
 .eyebrow, .muted, .empty, .nav-user, .repo-card small, .issue-list span, .commit-list span, .file-list span, .clean-list span, .file-kind { color: var(--muted); }
-.repo-list, .stack, form, .clean-list, .commit-list, .file-list, .issue-list { display: grid; gap: .9rem; }
+.repo-list, .stack, form, .clean-list, .commit-list, .file-list, .issue-list { display: grid; gap: .75rem; }
 .repo-card { display: block; padding: .75rem 0; border-bottom: 1px solid var(--soft-border); color: var(--text); }
 .repo-card strong, .repo-card span, .repo-card small, .clone-box code { display: block; }
 .markdown-body { overflow-x: auto; }
diff --git a/templates/commits.tpl b/templates/commits.tpl
index 8bda0df..8d39215 100644
--- a/templates/commits.tpl
+++ b/templates/commits.tpl
@@ -15,7 +15,7 @@
   % if commits:
     <ul class="commit-list" data-paginated-list>
       % for commit in commits:
-        <li>
+        <li style="margin-bottom: 24px;">
           <code><a href="{{url_with_ref('/' + repo['owner_username'] + '/' + repo['name'] + '/commits/' + commit['node'], selected_ref)}}">{{commit["short_node"]}}</a></code>
           <div>
             <strong>{{commit["summary"]}}</strong>