„lib/chiya_web/live/note_show_live.ex“ ändern

This commit is contained in:
inhji 2023-03-09 09:19:57 +01:00
parent d041cc9a5d
commit 3afafb88d0

View file

@ -37,7 +37,7 @@ defmodule ChiyaWeb.NoteShowLive do
<p class="text-center text-xs text-zinc-700"><a href="">Delete image</a></p>
<a href="#" class="lightbox" id={"image-#{image.id}"}>
<span style="background-image: url('<%= Chiya.Uploaders.NoteImage.url({image.path, image}, :full_dithered) %>')"></span>
<span style={"background-image: url('#{Chiya.Uploaders.NoteImage.url({image.path, image}, :full_dithered)}')"}></span>
</a>
</article>
<% end %>