(fix) Missing tx hashes

pull/2019/head
Gabriel Rodriguez Alsina 6 years ago
parent 2fa568a1f5
commit f2eb171dc4
  1. 64
      apps/block_scout_web/assets/css/components/_token_tile_view_more.scss
  2. 4
      apps/block_scout_web/lib/block_scout_web/templates/transaction/_tile.html.eex

@ -1,65 +1,47 @@
.token-tile-view-more { .token-tile-view-more {
line-height: 0.5; align-items: center;
display: flex;
justify-content: space-between;
line-height: 1.2;
padding-top: 10px;
text-align: center; text-align: center;
&:hover, a {
:focus {
text-decoration: none; text-decoration: none;
} }
}
.token-tile-view-more span {
display: inline-block;
position: relative;
}
.token-tile-view-more span:before, &:before,
.token-tile-view-more span:after { &:after {
content: "";
position: absolute;
height: 5px;
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
border-top: 1px solid $border-color; border-top: 1px solid $border-color;
top: 0; content: "";
width: 43%; height: 4px;
} flex-grow: 1;
.token-tile-view-more span:before { @include media-breakpoint-down(md) {
right: 55%;
margin-right: 0.9375rem;
} }
.token-tile-view-more span:after { @include media-breakpoint-down(sm) {
left: 55%;
margin-left: 0.9375rem;
} }
@include media-breakpoint-down(md) {
.token-tile-view-more span:before,
.token-tile-view-more span:after {
width: 40%;
} }
.token-tile-view-more span:before { &:before {
right: 58%; margin-right: 10px;
}
.token-tile-view-more span:after { @include media-breakpoint-down(md) {
left: 58%;
}
} }
@include media-breakpoint-down(sm) { @include media-breakpoint-down(sm) {
.token-tile-view-more span:before, }
.token-tile-view-more span:after {
width: 28%;
} }
.token-tile-view-more span:before { &:after {
right: 66%; margin-left: 10px;
@include media-breakpoint-down(md) {
} }
.token-tile-view-more span:after { @include media-breakpoint-down(sm) {
left: 66%; }
} }
} }

@ -50,11 +50,9 @@
</div> </div>
<%= if Enum.any?(remaining_token_transfers) do %> <%= if Enum.any?(remaining_token_transfers) do %>
<div class="col-md-12 d-flex flex-column mt-1 mb-2 text-center token-tile-view-more"> <div class="token-tile-view-more">
<span class="token-tile-more-lines">
<%= link gettext("View More Transfers"), to: "#transaction-#{@transaction.hash}", "data-toggle": "collapse", "data-selector": "token-transfer-open", "data-test": "token_transfers_expansion" %> <%= link gettext("View More Transfers"), to: "#transaction-#{@transaction.hash}", "data-toggle": "collapse", "data-selector": "token-transfer-open", "data-test": "token_transfers_expansion" %>
<%= link gettext("View Less Transfers"), class: "d-none", to: "#transaction-#{@transaction.hash}", "data-toggle": "collapse", "data-selector": "token-transfer-close" %> <%= link gettext("View Less Transfers"), class: "d-none", to: "#transaction-#{@transaction.hash}", "data-toggle": "collapse", "data-selector": "token-transfer-close" %>
</span>
</div> </div>
<% end %> <% end %>
<% end %> <% end %>

Loading…
Cancel
Save