From 78a0215cc7766d8c777994f9fa913474fdd69b9a Mon Sep 17 00:00:00 2001 From: Gustavo Santos Ferreira Date: Tue, 11 Sep 2018 15:38:49 -0300 Subject: [PATCH] give view contract its own line when on smaller screens --- .../tokens/overview/_details.html.eex | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/apps/block_scout_web/lib/block_scout_web/templates/tokens/overview/_details.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/tokens/overview/_details.html.eex index feb05d9844..37f06ffa6d 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/tokens/overview/_details.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/tokens/overview/_details.html.eex @@ -25,8 +25,8 @@

<%= to_string(@token.contract_address_hash) %>

-
- +
+ <%= link to: address_path(@conn, :show, @token.contract_address_hash), "data-test": "token_contract_address" @@ -34,12 +34,15 @@ <%= gettext "View Contract" %> <% end %> - <%= @token.type %> - <%= @total_token_holders %> <%= gettext "addresses" %> - <%= @total_token_transfers %> <%= gettext "Transfers" %> - <%= if decimals?(@token) do %> - <%= @token.decimals %> <%= gettext "decimals" %> - <% end %> +
+ <%= @token.type %> + <%= @total_token_holders %> <%= gettext "addresses" %> + <%= @total_address_in_token_transfers %> <%= gettext "addresses" %> + <%= @total_token_transfers %> <%= gettext "Transfers" %> + <%= if decimals?(@token) do %> + <%= @token.decimals %> <%= gettext "decimals" %> + <% end %> +