Merge pull request #3332 from BrokenEagle/feat-add-searchlink

Added searchbox link to responsive view
This commit is contained in:
Albert Yi
2017-10-13 12:11:39 -07:00
committed by GitHub
2 changed files with 10 additions and 0 deletions

View File

@@ -4,11 +4,19 @@
display: none;
}
#searchbox-redirect-link {
display: none;
}
@media screen and (max-width: 660px) {
#desktop-version-link {
display: inline;
}
#searchbox-redirect-link {
display: inline;
}
#saved-searches-nav {
display: none;
}

View File

@@ -32,6 +32,8 @@
<% elsif @post_set.is_single_tag? && !@post_set.is_metatag_search? %>
<li><%= link_to "Wiki", "#", :id => "show-excerpt-link" %></li>
<% end %>
<li id="searchbox-redirect-link"><a href="#search-box">Search&raquo;</a></li>
</menu>
<%= render "posts/partials/index/edit" %>