Fix token view mobile style (Circles UBI)

pull/3411/head
Victor Baranov 4 years ago
parent f21517c83f
commit 75ec5475ee
  1. 6
      apps/block_scout_web/assets/css/theme/custom_contracts/_circles-theme.scss
  2. 2
      apps/block_scout_web/lib/block_scout_web/templates/tokens/instance/overview/_details.html.eex
  3. 2
      apps/block_scout_web/lib/block_scout_web/templates/tokens/overview/_details.html.eex

@ -370,6 +370,12 @@ $c-dark-text-color: #8a8dba;
} }
} }
.overview-title-buttons.token {
@media (max-width: 768px) {
margin-top: 0px;
}
}
.awesomplete { .awesomplete {
& > ul { & > ul {
background: $c-primary; background: $c-primary;

@ -10,7 +10,7 @@
<%= gettext("Token Details") %> <%= gettext("Token Details") %>
<% end %> <% end %>
<!-- buttons --> <!-- buttons -->
<span class="overview-title-buttons float-right"> <span class="overview-title-buttons token float-right">
<span class="overview-title-item"> <span class="overview-title-item">
<span <span
aria-label='<%= gettext("View Contract") %>' aria-label='<%= gettext("View Contract") %>'

@ -26,7 +26,7 @@
<%= gettext("Token Details") %> <%= gettext("Token Details") %>
<% end %> <% end %>
<!-- buttons --> <!-- buttons -->
<span class="overview-title-buttons float-right"> <span class="overview-title-buttons token float-right">
<span class="overview-title-item" data-clipboard-text="<%= Address.checksum(@token.contract_address_hash) %>"> <span class="overview-title-item" data-clipboard-text="<%= Address.checksum(@token.contract_address_hash) %>">
<span <span
aria-label='<%= gettext("Copy Address") %>' aria-label='<%= gettext("Copy Address") %>'

Loading…
Cancel
Save