From dafcd0ed6fd4477de9a01125e87ba000356e619e Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Tue, 15 Oct 2024 14:58:14 +0100 Subject: [PATCH] Fix side padding inconsistencies in collection view --- .../components/core_components.ex | 2 +- .../components/pagination.ex | 5 +- .../live/record_live/index.html.heex | 54 ++++++++++--------- 3 files changed, 30 insertions(+), 31 deletions(-) diff --git a/lib/music_library_web/components/core_components.ex b/lib/music_library_web/components/core_components.ex index 6f598e68..0ca996f2 100644 --- a/lib/music_library_web/components/core_components.ex +++ b/lib/music_library_web/components/core_components.ex @@ -489,7 +489,7 @@ defmodule MusicLibraryWeb.CoreComponents do +
<%!-- Only on smallest viewport --%>
-

All Records

-
-
- -
- <.link patch={~p"/records/import"}> - <.button>Import - -
- +
+
+

All Records

+
+
+ +
+ <.link patch={~p"/records/import"}> + <.button>Import + +
+
-

- Showing <%= Enum.count(@streams.records) %> - of <%= @record_list_params.total_entries %> - records -

+

+ Showing <%= Enum.count(@streams.records) %> + of <%= @record_list_params.total_entries %> + records +

+
<.table id="records"