From 29b6a383912a034098d04ba7a67a5375c2b63d32 Mon Sep 17 00:00:00 2001 From: Nicholas Skinsacos Date: Mon, 13 Nov 2023 16:25:38 -0500 Subject: [PATCH] Remove whitespace so user can view more to-dos simultaneously (#47) --- lib/todo_web/live/item_live/item_component.html.heex | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/todo_web/live/item_live/item_component.html.heex b/lib/todo_web/live/item_live/item_component.html.heex index e7118e7..0e26030 100644 --- a/lib/todo_web/live/item_live/item_component.html.heex +++ b/lib/todo_web/live/item_live/item_component.html.heex @@ -1,7 +1,7 @@ -
+
<%= @item.description %>
-
+
Due <%= Todo.Date.pretty_date(@item.due_date) %> @@ -9,7 +9,6 @@
-
<%= Item.pretty_status(@item) %>
<%= live_patch "Edit", to: Routes.item_index_path(@socket, :edit, @item) %>
<%= link "Delete", to: "#", phx_click: "delete", phx_value_id: @item.id, data: [confirm: "Are you sure?"] %>