Skip to content

Commit 82edcd6

Browse files
committed
add 5px gap and align center
1 parent 0f090d1 commit 82edcd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openlibrary/templates/covers/external_image.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
<div class="label">
55
<label>$_("Or, use a cover from %s", source_name)</label>
66
</div>
7-
<div style="display: flex; flex-direction: row;">
7+
<div style="display: flex; flex-direction: row; gap: 5px;">
88
$for url in [img_url_cover, img_url_title]:
99
$if url:
10-
<div class="input">
10+
<div class="input" style="align-items: center;">
1111
<a href="$url" target="_blank" style="flex-direction: column;">
1212
<img class="ol-cover-form--external_image" src="$url" style="height: 200px" alt="" />
1313
</a>

0 commit comments

Comments
 (0)