Set viewport

main
Bob Mottram 2022-11-27 13:20:23 +00:00
parent 0c3c7e8eb5
commit c48a935121
1 changed files with 2 additions and 0 deletions

View File

@ -717,6 +717,8 @@ def html_header_with_external_style(css_filename: str, instance_title: str,
metadata + \ metadata + \
' <meta name="apple-mobile-web-app-status-bar-style" ' + \ ' <meta name="apple-mobile-web-app-status-bar-style" ' + \
'content="' + pwa_theme_background_color + '">\n' + \ 'content="' + pwa_theme_background_color + '">\n' + \
' <meta name="viewport" content="width=device-width, ' + \
'initial-scale=1">\n' + \
' <title>' + instance_title + '</title>\n' + \ ' <title>' + instance_title + '</title>\n' + \
' </head>\n' + \ ' </head>\n' + \
' <body>\n' ' <body>\n'