]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Add viewport meta (#78)
authorGeorgi D. Sotirov <gdsotirov@gmail.com>
Fri, 24 May 2019 14:32:38 +0000 (17:32 +0300)
committermohawk2 <mohawk2@users.noreply.github.com>
Fri, 24 May 2019 14:32:38 +0000 (15:32 +0100)
Add viewport meta to improve rendering on mobile devices. Without this meta Google Search tools would report Bugzilla pages as not suitable for mobile devices.

template/en/default/global/header.html.tmpl

index bd40fff88eb86bad221d520c779d161c62771780..0d6849ddbbcd9e1acb8de1a470808fc2e4412f08 100644 (file)
@@ -89,6 +89,8 @@
       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     [% END %]
 
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+
     [% SET yui = yui_resolve_deps(yui, yui_deps) %]
 
     [% SET css_sets = css_files(style_urls, yui, yui_css) %]