give view contract its own line when on smaller screens

pull/699/head
Gustavo Santos Ferreira 6 years ago
parent 2e88214a78
commit 78a0215cc7
  1. 7
      apps/block_scout_web/lib/block_scout_web/templates/tokens/overview/_details.html.eex

@ -25,8 +25,8 @@
<h3><%= to_string(@token.contract_address_hash) %></h3>
<div class="d-flex flex-row justify-content-start text-muted">
<span class="mr-4">
<div class="d-flex flex-column flex-md-row justify-content-start text-muted">
<span class="mr-4 mb-3 mb-md-0">
<%= link to:
address_path(@conn, :show, @token.contract_address_hash),
"data-test": "token_contract_address"
@ -34,8 +34,10 @@
<%= gettext "View Contract" %>
<% end %>
</span>
<div class="d-flex flex-row justify-content-start text-muted">
<span class="mr-4"> <%= @token.type %> </span>
<span class="mr-4"><%= @total_token_holders %> <%= gettext "addresses" %></span>
<span class="mr-4"><%= @total_address_in_token_transfers %> <%= gettext "addresses" %></span>
<span class="mr-4"><%= @total_token_transfers %> <%= gettext "Transfers" %></span>
<%= if decimals?(@token) do %>
<span class="mr-4"><%= @token.decimals %> <%= gettext "decimals" %></span>
@ -44,6 +46,7 @@
</div>
</div>
</div>
</div>
<%= if total_supply?(@token) do %>
<div class="col-md-6 col-lg-4">

Loading…
Cancel
Save