fix top nav autocomplete

pull/1793/head
Ayrat Badykov 6 years ago
parent d383c1a2bc
commit 5f92c94fa3
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 2
      apps/block_scout_web/assets/css/components/_navbar.scss
  2. 3
      apps/block_scout_web/lib/block_scout_web/templates/layout/_topnav.html.eex
  3. 11
      apps/block_scout_web/lib/block_scout_web/templates/layout/app.html.eex

@ -114,7 +114,7 @@
}
.input-group-append {
margin-left: 0px;
margin-left: -0.5px;
path {
fill: $secondary;

@ -93,8 +93,9 @@
prepop: true,
minChars: 3,
maxItems: 8,
value: "symbol",
value: "contract_address_hash",
label: "contract_address_hash",
descrSearch: true,
descr: "symbol"
]) %>
<div class="input-group-append">

@ -19,17 +19,6 @@
<link rel="stylesheet" href="https://nico-amsterdam.github.io/awesomplete-util/css/awesomplete.css">
<script src="https://nico-amsterdam.github.io/awesomplete-util/js/awesomplete.min.js"></script>
<script src="https://nico-amsterdam.github.io/awesomplete-util/js/awesomplete-util.min.js"></script>
<style>
div.awesomplete {display: block}
div.awesomplete ul li p {display: block; font-size: small; margin-left: 1em}
div.awesomplete .awe-found {border: 2px solid green}
.hide-not-found div.awesomplete .awe-not-found {border-color: lightblue}
div.awesomplete .awe-not-found {border: 2px solid red}
</style>
<%= render_existing(@view_module, "_metatags.html", assigns) || render("_default_title.html") %>
</head>

Loading…
Cancel
Save