From 5f92c94fa34e4e1ff2d33a22a83ecc7f213f3c23 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Fri, 19 Apr 2019 14:43:37 +0300 Subject: [PATCH] fix top nav autocomplete --- .../assets/css/components/_navbar.scss | 2 +- .../block_scout_web/templates/layout/_topnav.html.eex | 3 ++- .../lib/block_scout_web/templates/layout/app.html.eex | 11 ----------- 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/apps/block_scout_web/assets/css/components/_navbar.scss b/apps/block_scout_web/assets/css/components/_navbar.scss index 455011273a..81038a3c95 100644 --- a/apps/block_scout_web/assets/css/components/_navbar.scss +++ b/apps/block_scout_web/assets/css/components/_navbar.scss @@ -114,7 +114,7 @@ } .input-group-append { - margin-left: 0px; + margin-left: -0.5px; path { fill: $secondary; diff --git a/apps/block_scout_web/lib/block_scout_web/templates/layout/_topnav.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/layout/_topnav.html.eex index 770dcdd436..c31c68ff42 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/layout/_topnav.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/layout/_topnav.html.eex @@ -93,8 +93,9 @@ prepop: true, minChars: 3, maxItems: 8, - value: "symbol", + value: "contract_address_hash", label: "contract_address_hash", + descrSearch: true, descr: "symbol" ]) %>
diff --git a/apps/block_scout_web/lib/block_scout_web/templates/layout/app.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/layout/app.html.eex index c9c533138e..b3b6ba0665 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/layout/app.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/layout/app.html.eex @@ -19,17 +19,6 @@ - <%= render_existing(@view_module, "_metatags.html", assigns) || render("_default_title.html") %>