Small tweaks
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<.link navigate={~p"/"}>
|
||||
<.link href={~p"/"}>
|
||||
<.icon name="hero-arrow-left" /> Back to list
|
||||
</.link>
|
||||
|
||||
|
||||
@@ -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>
|
||||
"""
|
||||
|
||||
@@ -67,10 +67,17 @@
|
||||
<% end %>
|
||||
</span>
|
||||
</div>
|
||||
<div class="text-sm text-zinc-500">
|
||||
<%= if item.description do %>
|
||||
<div>
|
||||
<div class="text-sm opacity-60">
|
||||
Description:
|
||||
</div>
|
||||
<div>
|
||||
<%= item.description %>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
<% else %>
|
||||
<div class="flex flex-col mt-4 space-y-4">
|
||||
@@ -99,9 +106,16 @@
|
||||
/>
|
||||
<.dropdown item={item} />
|
||||
</div>
|
||||
<div class="col-span-3 w-full text-zinc-500">
|
||||
<%= 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:
|
||||
|
||||
Reference in New Issue
Block a user