tweak viewport

This commit is contained in:
r888888888
2017-10-10 18:14:44 -07:00
parent c2029b62b5
commit 4905d035b7
2 changed files with 2 additions and 1 deletions

View File

@@ -6,7 +6,7 @@
<link rel="top" title="<%= Danbooru.config.app_name %>" href="/">
<%= csrf_meta_tag %>
<% unless cookies[:dm] %>
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=yes">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=yes,maximum-scale=5.0,minimum-scale=0.1">
<% end %>
<meta name="current-user-name" content="<%= CurrentUser.name %>">
<meta name="current-user-id" content="<%= CurrentUser.id %>">

View File

@@ -63,6 +63,7 @@
<%= content_for(:html_header) do %>
<link href="<%= posts_path(:format => 'atom', :tags => params[:tags]) %>" rel="alternate" title="ATOM" type="application/atom+xml" />
<%= content_tag(:link, nil, rel: "prefetch", href: posts_path(tags: params[:tags], page: (params[:page] || 1).to_i + 1), as: "html", crossorigin: "use-credentials") %>
<% if @post_set.has_wiki? %>
<meta name="description" content="<%= @post_set.wiki_page.presenter.blurb %>">
<% else %>