Browse Source

tweak github badge position on post pages

Thomas Buck 1 year ago
parent
commit
15400fac58
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      macros.py

+ 1
- 1
macros.py View File

@@ -94,7 +94,7 @@ def githubCommitBadge(p, showInline = False):
94 94
         if len(linkParts) >= 5:
95 95
             ret += "<a href=\"" + link + "\"><img "
96 96
             if showInline:
97
-                ret += "style =\"vertical-align: top;\" "
97
+                ret += "style =\"vertical-align: middle; padding-bottom: 0.25em;\" "
98 98
             ret += "src=\"https://img.shields.io/github/last-commit/"
99 99
             ret += linkParts[3] + "/" + linkParts[4]
100 100
             ret += ".svg?logo=git&style=flat\" /></a>"

Loading…
Cancel
Save