Skip to content
Snippets Groups Projects
Commit 6ade21e42f94 authored by Adrien Di Mascio's avatar Adrien Di Mascio
Browse files

[basetemplates] fix meta viewport syntax definition (closes #7412651)

separator should be ",", not ";"
parent 68b224749969
No related branches found
No related tags found
No related merge requests found
...@@ -54,8 +54,8 @@ ...@@ -54,8 +54,8 @@
self._cw.html_headers.define_var('DATA_URL', self._cw.datadir_url) self._cw.html_headers.define_var('DATA_URL', self._cw.datadir_url)
w(u'<meta http-equiv="content-type" content="%s; charset=%s"/>\n' w(u'<meta http-equiv="content-type" content="%s; charset=%s"/>\n'
% (content_type, self._cw.encoding)) % (content_type, self._cw.encoding))
w(u'<meta name="viewport" content="initial-scale=1.0; ' w(u'<meta name="viewport" content="initial-scale=1.0, '
u'maximum-scale=1.0; width=device-width; "/>') u'maximum-scale=1.0, width=device-width"/>')
w(u'\n'.join(additional_headers) + u'\n') w(u'\n'.join(additional_headers) + u'\n')
self.wview('htmlheader', rset=self.cw_rset) self.wview('htmlheader', rset=self.cw_rset)
if page_title: if page_title:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment