Skip to content

Commit 8053532

Browse files
committed
Fix positioning of logos with absolute url
1 parent 4ad8a31 commit 8053532

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

layouts/partials/card-api.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@
1313
</div>
1414
{{ end }}
1515
{{ if .Params.logoPath }}
16+
<div class="relative flex justify-center items-center mb-5">
1617
<div class="svg-logo border border-slate-200 p-2 rounded justify-center">
1718
<img src="{{ .Params.logoPath | relLangURL }}" width="82px" height="82px">
1819
</div>
20+
</div>
1921
{{ end }}
2022
<div class="relative text-center">
2123
<h3 class="text-xl font-medium break-words">{{ .Title }}</h3>

0 commit comments

Comments
 (0)