From 32c94b7ef95c9f453097205bfda1e4e800d28e83 Mon Sep 17 00:00:00 2001 From: Oleg Sovetnik Date: Fri, 18 Mar 2022 16:10:23 +0300 Subject: [PATCH] Style fixes --- .../templates/account/tag_address/index.html.eex | 3 ++- .../templates/account/tag_address/new.html.eex | 12 +----------- .../templates/account/tag_address/row.html.eex | 4 +++- 3 files changed, 6 insertions(+), 13 deletions(-) diff --git a/apps/block_scout_web/lib/block_scout_web/templates/account/tag_address/index.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/account/tag_address/index.html.eex index fdb44d163b..c0323020e7 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/account/tag_address/index.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/account/tag_address/index.html.eex @@ -1,6 +1,6 @@
- <%= render BlockScoutWeb.Account.CommonView, "_nav.html", conn: @conn %> + <%= render BlockScoutWeb.Account.CommonView, "_nav.html", conn: @conn %>
@@ -21,6 +21,7 @@ Name Address + Action diff --git a/apps/block_scout_web/lib/block_scout_web/templates/account/tag_address/new.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/account/tag_address/new.html.eex index 50cc42a5f2..c817e5adb4 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/account/tag_address/new.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/account/tag_address/new.html.eex @@ -1,16 +1,6 @@
-
- -
- + <%= render BlockScoutWeb.Account.CommonView, "_nav.html", conn: @conn %>
diff --git a/apps/block_scout_web/lib/block_scout_web/templates/account/tag_address/row.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/account/tag_address/row.html.eex index 6c934a0816..6e3a6cdf6d 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/account/tag_address/row.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/account/tag_address/row.html.eex @@ -5,7 +5,9 @@ <%= link(trimmed_hash(@address_tag.address_hash), to: address_path(@conn, :show, @address_tag.address_hash)) %> <%= render BlockScoutWeb.CommonComponentsView, "_btn_copy.html", additional_classes: ["btn-copy-icon-small", "btn-copy-icon-custom", "btn-copy-icon-no-borders"], clipboard_text: @address_tag.address_hash, aria_label: gettext("Copy Address"), title: gettext("Copy Address"), style: "display: inline-block; vertical-align: text-bottom; position: initial; margin-top: 1px;" %> - <%= link "Remove Tag", to: tag_address_path(@conn, :delete, @address_tag.id), method: :delete, class: "btn btn-danger white button-sm", style: "color: #fff !important;" %> + + + <%= link "Remove Tag", to: tag_address_path(@conn, :delete, @address_tag.id), method: :delete %>