Fixed mobile search bar and network ui bug

pull/1012/head
Santiago Gonzalez Toral 6 years ago
parent 553dd4d303
commit 9330e4b047
  1. 4
      apps/block_scout_web/lib/block_scout_web/templates/layout/_topnav.html.eex

@ -65,7 +65,7 @@
<% end %>
</li>
</ul>
<div class="search-form">
<div class="search-form d-lg-flex d-inline-block">
<%= form_for @conn, chain_path(@conn, :search), [class: "form-inline my-2 my-lg-0", method: :get, enforce_utf8: false], fn f -> %>
<div class="input-group">
<%= search_input f, :q, class: 'form-control mr-auto', placeholder: gettext("Search by address, transaction hash, or block number"), "aria-describedby": "search-icon", "aria-label": gettext("Search"), "data-test": "search_input" %>
@ -79,7 +79,7 @@
<% end %>
<ul class="navbar-nav">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle pl-2" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<a class="nav-link dropdown-toggle pl-lg-2" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<!-- ICON FOR MAINNET -->
<span class="nav-link-icon">
<%= render BlockScoutWeb.IconsView, network_icon_partial() %>

Loading…
Cancel
Save