fixes to mobile responsive view
This commit is contained in:
@@ -5,7 +5,9 @@
|
||||
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
||||
<link rel="top" title="<%= Danbooru.config.app_name %>" href="/">
|
||||
<%= csrf_meta_tag %>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<% unless cookies[:dm] %>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<% end %>
|
||||
<meta name="current-user-name" content="<%= CurrentUser.name %>">
|
||||
<meta name="current-user-id" content="<%= CurrentUser.id %>">
|
||||
<meta name="current-user-can-approve-posts" content="<%= CurrentUser.can_approve_posts? %>">
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<% end %>
|
||||
<%= hidden_field_tag "ms", "1" %>
|
||||
<%= submit_tag "Go", :name => nil %>
|
||||
<%= submit_tag "+", "data-jq-dropdown" => "#search-dropdown" %>
|
||||
<%= submit_tag "+", :id => "expand-search", "data-jq-dropdown" => "#search-dropdown" %>
|
||||
<div id="search-dropdown" class="jq-dropdown jq-dropdown-tip">
|
||||
<ul class="jq-dropdown-menu">
|
||||
<% if SavedSearch.enabled? && CurrentUser.show_saved_searches? %>
|
||||
|
||||
@@ -8,4 +8,8 @@
|
||||
<% if CurrentUser.user.enable_post_navigation %>
|
||||
– <%= link_to "Keyboard shortcuts available", keyboard_shortcuts_path %>
|
||||
<% end %>
|
||||
<span id="desktop-version-link">
|
||||
–
|
||||
<%= link_to "Desktop version", posts_path(:dm => "1"), :rel => "nofollow" %>
|
||||
</span>
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user