search length issue, tile link wrapping issue

pull/2254/head
maxgrapps 6 years ago
parent 9f3ba2ca02
commit 623be25cc2
  1. 12
      apps/block_scout_web/assets/css/components/_navbar.scss
  2. 4
      apps/block_scout_web/lib/block_scout_web/templates/address/_responsive_hash.html.eex

@ -151,19 +151,13 @@ $navbar-logo-width: auto !default;
}
@include media-breakpoint-up(xl) {
width: 280px;
width: 340px;
}
@media (min-width: 1366px) {
width: 330px;
width: 500px;
}
@media (min-width: 1440px) {
width: 380px;
}
@media (min-width: 1580px) {
width: 430px;
}
@media (min-width: 1800px) {
width: 520px;
width: 580px;
}
}
.input-group-append {

@ -5,8 +5,8 @@
<%= if assigns[:truncate] do %>
<%= BlockScoutWeb.AddressView.trimmed_hash(@address.hash) %>
<% else %>
<span class="d-none d-md-none d-lg-inline"><%= @address %></span>
<span class="d-md-inline-block d-lg-none"><%= BlockScoutWeb.AddressView.trimmed_hash(@address.hash) %></span>
<span class="d-none d-md-none d-xl-inline"><%= @address %></span>
<span class="d-md-inline-block d-xl-none"><%= BlockScoutWeb.AddressView.trimmed_hash(@address.hash) %></span>
<% end %>
<% end %>
</span>

Loading…
Cancel
Save