소스 검색

tweak github badge position on post pages

Thomas Buck 7 달 전
부모
커밋
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…
취소
저장