Separate address from transaction distinctions in css and setup typography class for account vs contract
parent
0c5968a4ca
commit
4c91438871
@ -1,4 +1,4 @@ |
||||
<span class="<%= if @contract do %>contract<% else %>account<% end %>"> |
||||
<span class="<%= if @contract do %>contract-address<% else %>account-address<% end %>"> |
||||
<span class="d-none d-md-none d-lg-inline"><%= @address_hash %></span> |
||||
<span class="d-md-block d-lg-none "><%= @address_hash |> to_string() |> String.slice(0..5) %>–<%= @address_hash |> to_string() |> String.slice(-6..-1) %></span> |
||||
</span> |
||||
|
Loading…
Reference in new issue