Skip to content

Commit 999c676

Browse files
committed
Fix Badge Alignment
1 parent 37e22fe commit 999c676

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/js/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ function addCard(data, parent) {
129129
const img = document.createElement('img')
130130
img.src = src
131131
img.alt = text
132-
a.classList.add('me-2', 'hvr-grow')
132+
img.classList.add('mb-1', 'hvr-grow')
133+
a.classList.add('me-2')
133134
a.appendChild(img)
134135
footer.appendChild(a)
135136
} else {

0 commit comments

Comments
 (0)