Add top marging for implementation address container

pull/3201/head
Victor Baranov 4 years ago
parent dc4c404fae
commit dcb474ebe0
  1. 4
      apps/block_scout_web/assets/css/components/_card.scss
  2. 2
      apps/block_scout_web/lib/block_scout_web/templates/smart_contract/_functions.html.eex

@ -258,6 +258,10 @@ $card-tab-icon-color-active: #fff !default;
} }
} }
.implementation-container {
margin-top: 10px;
}
.implementation-title { .implementation-title {
float: left; float: left;
margin-right: 5px; margin-right: 5px;

@ -2,7 +2,7 @@
<button connect-metamask class="button btn-line">Connect to Metamask</button> <button connect-metamask class="button btn-line">Connect to Metamask</button>
<% end %> <% end %>
<%= if @contract_type == "proxy" do %> <%= if @contract_type == "proxy" do %>
<div> <div class="implementation-container">
<h2 class="implementation-title">Implementation address: </h2><h3 class="implementation-value"><%= link( <h2 class="implementation-title">Implementation address: </h2><h3 class="implementation-value"><%= link(
@implementation_address, @implementation_address,
to: address_path(@conn, :show, @implementation_address) to: address_path(@conn, :show, @implementation_address)

Loading…
Cancel
Save