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

Loading…
Cancel
Save