Add meta viewport tag to all layouts

This commit is contained in:
Mark Seymour
2015-10-27 21:22:37 -03:00
parent 72e442620a
commit 5de709fda7
3 changed files with 3 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
<html>
<head>
<title><%= yield :page_title %></title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="top" title="<%= Danbooru.config.app_name %>" href="/">
<%= csrf_meta_tag %>

View File

@@ -2,6 +2,7 @@
<html xmlns:fb="http://ogp.me/ns/fb#">
<head>
<title><%= yield :page_title %></title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="top" title="<%= Danbooru.config.app_name %>" href="/">
<%= csrf_meta_tag %>

View File

@@ -2,6 +2,7 @@
<html>
<head>
<title><%= yield :page_title %></title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<%= csrf_meta_tag %>
<%= stylesheet_link_tag "mobile", :media => "screen" %>