Remove block class from profile link

As a block the link extends the full width of the header and is too easy to click on accidentally.
This commit is contained in:
Michael Crumm 2022-02-03 08:15:47 -08:00
parent 08f9734f6f
commit 09f3189be3
No known key found for this signature in database
GPG key ID: 4BE92DCED9E69BAA

View file

@ -14,7 +14,7 @@ defmodule LiveBeatsWeb.ProfileLive do
<div class="block"> <div class="block">
<%= @profile.tagline %> <%= if @owns_profile? do %>(you)<% end %> <%= @profile.tagline %> <%= if @owns_profile? do %>(you)<% end %>
</div> </div>
<.link href={@profile.external_homepage_url} target="_blank" class="block text-sm text-gray-600"> <.link href={@profile.external_homepage_url} target="_blank" class="text-sm text-gray-600">
<.icon name={:code}/> <span class=""><%= url_text(@profile.external_homepage_url) %></span> <.icon name={:code}/> <span class=""><%= url_text(@profile.external_homepage_url) %></span>
</.link> </.link>
</div> </div>