From cf85c78852029a0b8af713827c7ae7b42d950efd Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Tue, 3 Dec 2024 10:37:37 +0000 Subject: [PATCH] Improve readability of artist bio --- lib/music_library_web/live/artist_live/show.ex | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/music_library_web/live/artist_live/show.ex b/lib/music_library_web/live/artist_live/show.ex index 8ec41784..6b8ffb57 100644 --- a/lib/music_library_web/live/artist_live/show.ex +++ b/lib/music_library_web/live/artist_live/show.ex @@ -53,6 +53,9 @@ defmodule MusicLibraryWeb.ArtistLive.Show do defp render_bio(nil), do: gettext("Biography not available") defp render_bio(bio) do - PhoenixHTMLHelpers.Format.text_to_html(bio, escape: false) + PhoenixHTMLHelpers.Format.text_to_html(bio, + escape: false, + attributes: [class: "mt-4 text-sm/7"] + ) end end