„lib/chiya_web/live/note_show_live.ex“ ändern
This commit is contained in:
parent
98e82deb94
commit
a463c58f6e
1 changed files with 3 additions and 3 deletions
|
@ -30,10 +30,10 @@ defmodule ChiyaWeb.NoteShowLive do
|
||||||
<div class="flex flex-wrap gap-3">
|
<div class="flex flex-wrap gap-3">
|
||||||
<%= for image <- @note.images do %>
|
<%= for image <- @note.images do %>
|
||||||
<article>
|
<article>
|
||||||
<img
|
<a href={Chiya.Uploaders.NoteImage.url({image.path, image}, :full_dithered)}><img
|
||||||
class="rounded-lg w-28 "
|
class="rounded-lg w-28 "
|
||||||
src={Chiya.Uploaders.NoteImage.url({image.path, image}, :thumb)}
|
src={Chiya.Uploaders.NoteImage.url({image.path, image}, :thumb_dithered)}
|
||||||
/>
|
/></a>
|
||||||
<p class="text-center text-xs text-zinc-700"><a href="">Delete image</a></p>
|
<p class="text-center text-xs text-zinc-700"><a href="">Delete image</a></p>
|
||||||
</article>
|
</article>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in a new issue