Style fixes

account
Oleg Sovetnik 3 years ago committed by Viktor Baranov
parent 69f9dcdd0f
commit 32c94b7ef9
  1. 3
      apps/block_scout_web/lib/block_scout_web/templates/account/tag_address/index.html.eex
  2. 12
      apps/block_scout_web/lib/block_scout_web/templates/account/tag_address/new.html.eex
  3. 4
      apps/block_scout_web/lib/block_scout_web/templates/account/tag_address/row.html.eex

@ -1,6 +1,6 @@
<section class="container">
<div class="row">
<%= render BlockScoutWeb.Account.CommonView, "_nav.html", conn: @conn %>
<%= render BlockScoutWeb.Account.CommonView, "_nav.html", conn: @conn %>
<div class="col-md">
<div class="card">
<div class="card-body" >
@ -21,6 +21,7 @@
<tr>
<th scope="col">Name</th>
<th scope="col">Address</th>
<th scope="col">Action</th>
</tr>
</thead>
<tbody style="font-size: 15px; color: #6c757d" >

@ -1,16 +1,6 @@
<section class="container">
<div class="row">
<div class="col-2 mb-3">
<ul class="nav flex-column">
<li class="nav-item">
<a class="dropdown-item fs-14" aria-current="page" href="<%= auth_path(@conn, :profile) %>">Profile</a>
</li>
<li class="nav-item">
<a class="dropdown-item acc-link-active fs-14" style="font-size: 14px;" href="#">Watchlist</a>
</li>
</ul>
</div>
<%= render BlockScoutWeb.Account.CommonView, "_nav.html", conn: @conn %>
<div class="col-sm-10">
<div class="card">
<div class="card-body" >

@ -5,7 +5,9 @@
<%= link(trimmed_hash(@address_tag.address_hash), to: address_path(@conn, :show, @address_tag.address_hash)) %>
<%= render BlockScoutWeb.CommonComponentsView, "_btn_copy.html",
additional_classes: ["btn-copy-icon-small", "btn-copy-icon-custom", "btn-copy-icon-no-borders"], clipboard_text: @address_tag.address_hash, aria_label: gettext("Copy Address"), title: gettext("Copy Address"), style: "display: inline-block; vertical-align: text-bottom; position: initial; margin-top: 1px;" %>
<%= link "Remove Tag", to: tag_address_path(@conn, :delete, @address_tag.id), method: :delete, class: "btn btn-danger white button-sm", style: "color: #fff !important;" %>
</td>
<td>
<%= link "Remove Tag", to: tag_address_path(@conn, :delete, @address_tag.id), method: :delete %>
</div>
</td>
</tr>

Loading…
Cancel
Save