From af49a63a7b41932b63662521a1a9f7fce60028b6 Mon Sep 17 00:00:00 2001 From: Ryan Arthur Date: Wed, 17 Oct 2018 15:43:22 -0400 Subject: [PATCH] Style hide/show pending txn link --- .../templates/address_transaction/index.html.eex | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/apps/block_scout_web/lib/block_scout_web/templates/address_transaction/index.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/address_transaction/index.html.eex index d39fdcc7de..9dda749f2c 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/address_transaction/index.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/address_transaction/index.html.eex @@ -51,12 +51,13 @@

<%= gettext "Transactions" %>

- - <%= length(@pending_transactions) %> - <%= gettext("Pending Transactions") %> - <%= link to: "#pending-transactions", "data-toggle": "collapse" do %> - <%= gettext("Show") %> +
+ <%= link to: "#pending-transactions", class: "d-inline-block mb-3", "data-toggle": "collapse" do %> + + <%= gettext("Show") %> <%= gettext("Hide") %> + <%= length(@pending_transactions) %> + <%= gettext("Pending Transactions") %> <% end %>
<%= for pending_transaction <- @pending_transactions do %> @@ -64,7 +65,7 @@ <% end %>
- +
<%= if Enum.count(@transactions) > 0 do %> <%= for transaction <- @transactions do %>