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 <.icon name="hero-arrow-left" /> Back to list
</.link> </.link>

View File

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

View File

@@ -67,10 +67,17 @@
<% end %> <% end %>
</span> </span>
</div> </div>
<div class="text-sm text-zinc-500"> <%= if item.description do %>
<div>
<div class="text-sm opacity-60">
Description:
</div>
<div>
<%= item.description %> <%= item.description %>
</div> </div>
</div> </div>
<% end %>
</div>
</div> </div>
<% else %> <% else %>
<div class="flex flex-col mt-4 space-y-4"> <div class="flex flex-col mt-4 space-y-4">
@@ -99,9 +106,16 @@
/> />
<.dropdown item={item} /> <.dropdown item={item} />
</div> </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 %> <%= item.description %>
</div> </div>
</div>
<% end %>
<div class="col-span-3"> <div class="col-span-3">
<div class="text-sm opacity-60"> <div class="text-sm opacity-60">
Priority: Priority: