Skip to content

Commit

Permalink
Slightly better search bar experience on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
vamsiikrishna committed Jul 8, 2023
1 parent 02dcdaa commit d0f66f7
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions lib/zcash_explorer_web/templates/layout/header.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@
</div>
</a>
<a href="/">
<div class="shrink-0 px-1 text-white dark:text-white">
<%= if @zcash_network == "testnet" do %>
Zcash Testnet Block Explorer
<% else %>
Zcash Block Explorer
<% end %>
</div>

<%= if @zcash_network == "testnet" do %>
<div class="shrink-0 px-1 text-white dark:text-white md:block lg:block xl:block 2xl:block hidden ">
Zcash Testnet Block Explorer
</div>
<% else %>
<div class="shrink-0 px-1 text-white dark:text-white md:block lg:block xl:block 2xl:block hidden ">
Zcash Block Explorer
</div>
<% end %>
</a>
</div>
<!-- Search section -->
Expand Down

0 comments on commit d0f66f7

Please sign in to comment.