From e9e49572d12d6948473d570410abd7af298503b2 Mon Sep 17 00:00:00 2001 From: KKlochko Date: Sat, 31 May 2025 21:43:42 +0300 Subject: [PATCH] Add the content's horizontal padding for card components. --- .../components/my_components/author_card.ex | 2 +- .../components/my_components/book_card.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/decentralised_book_index_web/components/my_components/author_card.ex b/lib/decentralised_book_index_web/components/my_components/author_card.ex index 471b500..d71e3a8 100644 --- a/lib/decentralised_book_index_web/components/my_components/author_card.ex +++ b/lib/decentralised_book_index_web/components/my_components/author_card.ex @@ -63,7 +63,7 @@ defmodule DecentralisedBookIndexWeb.Components.MyComponents.AuthorCard do <% end %> -
+
<.link navigate={~p"/authors/#{@author.id}"}> <%= if @author.avatar_url != nil do %>
<% end %> -
+
<.link navigate={~p"/books/#{@book.id}"}> <%= if @book.cover_image_url != nil do %> {"#{@book.title}