Small tweaks

This commit is contained in:
2023-12-04 01:18:45 +00:00
parent 2027cb820f
commit 04a9e83939
3 changed files with 23 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
<.link navigate={~p"/"}>
<.link href={~p"/"}>
<.icon name="hero-arrow-left" /> Back to list
</.link>

View File

@@ -67,7 +67,7 @@ defmodule WishWeb.HomeLive.Index do
hidden
>
<.link href={@item.url} class="block p-2 w-full hover:bg-purple-300 select-none" target="_blank">
Go to URL
Go to seller
</.link>
<div
class="block p-2 w-full hover:bg-purple-300 select-none cursor-pointer"
@@ -76,7 +76,7 @@ defmodule WishWeb.HomeLive.Index do
|> JS.hide(to: "#dropdown-#{@item.id}")
}
>
Mark received
Mark as purchased
</div>
</div>
"""

View File

@@ -67,9 +67,16 @@
<% end %>
</span>
</div>
<div class="text-sm text-zinc-500">
<%= item.description %>
</div>
<%= if item.description do %>
<div>
<div class="text-sm opacity-60">
Description:
</div>
<div>
<%= item.description %>
</div>
</div>
<% end %>
</div>
</div>
<% else %>
@@ -99,9 +106,16 @@
/>
<.dropdown item={item} />
</div>
<div class="col-span-3 w-full text-zinc-500">
<%= item.description %>
</div>
<%= if item.description do %>
<div class="col-span-3 w-full">
<div class="text-sm opacity-60">
Description:
</div>
<div>
<%= item.description %>
</div>
</div>
<% end %>
<div class="col-span-3">
<div class="text-sm opacity-60">
Priority: