diff --git a/apps/explorer_web/assets/css/components/_address_link.scss b/apps/explorer_web/assets/css/components/_address_link.scss index e58999d42a..205c8ce662 100644 --- a/apps/explorer_web/assets/css/components/_address_link.scss +++ b/apps/explorer_web/assets/css/components/_address_link.scss @@ -2,6 +2,7 @@ border: 1px solid $border-color; white-space: nowrap; display: inline-block; + padding-left: 3px; &__font { font-family: $font-family-monospace; diff --git a/apps/explorer_web/lib/explorer_web/templates/address/_link.html.eex b/apps/explorer_web/lib/explorer_web/templates/address/_link.html.eex index 1b71828c36..b0663d7310 100644 --- a/apps/explorer_web/lib/explorer_web/templates/address/_link.html.eex +++ b/apps/explorer_web/lib/explorer_web/templates/address/_link.html.eex @@ -7,10 +7,8 @@ title: @address do %> <%= if contract?(@address) do %> - <% else %> - <% end %> - <%= @address |> hash() |> String.slice(0..3) %><%= @address |> hash() |> String.slice(-4..-1) %> + <%= @address |> hash() |> String.slice(0..5) %><%= @address |> hash() |> String.slice(-6..-1) %> <% end %>