fix
All checks were successful
deploy to production / deploy (push) Successful in 28s

This commit is contained in:
Robin Grenzdörfer 2023-11-18 16:22:42 +00:00
parent 296458a7cf
commit 99be954f5c

View File

@ -64,13 +64,12 @@
> >
{#if row.backgroundImage && $mediaLibrary[row.backgroundImage]} {#if row.backgroundImage && $mediaLibrary[row.backgroundImage]}
<div class="background-image"> <div class="background-image">
<svg <img
stroke="{'white'}" src="{`${apiBaseURL}medialib/${row?.backgroundImage}/${
fill="{'white'}"
data-src="{`${apiBaseURL}medialib/${row?.backgroundImage}/${
$mediaLibrary?.[row?.backgroundImage]?.file?.src $mediaLibrary?.[row?.backgroundImage]?.file?.src
}`}" }`}"
></svg> alt="img"
/>
</div> </div>
{/if} {/if}
<div class="content" class:bright="{row.backgroundImage}"> <div class="content" class:bright="{row.backgroundImage}">