瀏覽代碼

tweak github badge position on post pages

Thomas Buck 1 年之前
父節點
當前提交
15400fac58
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      macros.py

+ 1
- 1
macros.py 查看文件

@@ -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…
取消
儲存