Skip to content

Commit f3cebfa

Browse files
committed
Fix svg in list
1 parent 24e71d9 commit f3cebfa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

demo/app/Sharp/Posts/Blocks/PostBlockList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function getListData(): array|Arrayable
7373
'visuals' => $instance->files
7474
->map(function (Media $visual) {
7575
if ($url = $visual->thumbnail(null, 30)) {
76-
return sprintf('<img src="%s" alt="" style="display: inline-block">', $url);
76+
return sprintf('<img src="%s" alt="" style="display: inline-block; height: 30px">', $url);
7777
}
7878

7979
return null;

0 commit comments

Comments
 (0)