From 09f3189be333969e70d6c1a074a2f4d1f296dcc9 Mon Sep 17 00:00:00 2001 From: Michael Crumm Date: Thu, 3 Feb 2022 08:15:47 -0800 Subject: [PATCH] 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. --- lib/live_beats_web/live/profile_live.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/live_beats_web/live/profile_live.ex b/lib/live_beats_web/live/profile_live.ex index 19883b2..723e109 100644 --- a/lib/live_beats_web/live/profile_live.ex +++ b/lib/live_beats_web/live/profile_live.ex @@ -14,7 +14,7 @@ defmodule LiveBeatsWeb.ProfileLive do
<%= @profile.tagline %> <%= if @owns_profile? do %>(you)<% end %>
- <.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}/> <%= url_text(@profile.external_homepage_url) %>