From 0bbf52b4aa5172faff67ecf50a157091cc3d517d Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Mon, 2 May 2016 15:25:50 +0200 Subject: [PATCH] 8967: web reports: viewport line settings don't allow scaling --- gramps/plugins/webreport/narrativeweb.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gramps/plugins/webreport/narrativeweb.py b/gramps/plugins/webreport/narrativeweb.py index c19ea5a0a..944b4c9ba 100644 --- a/gramps/plugins/webreport/narrativeweb.py +++ b/gramps/plugins/webreport/narrativeweb.py @@ -1783,8 +1783,9 @@ class BasePage(object): del page[0] # Header constants - _meta1 = 'name ="viewport" content="width=device-width,"' - _meta1 += '" initial-scale=1.0, maximum-scale=1.0, user-scalable=1"' + _meta1 = 'name ="viewport" content="width=device-width; ' + _meta1 += 'height=device-height; initial-scale=0.1; ' + _meta1 += 'maximum-scale=10.0; user-scalable=yes"' _meta2 = 'name ="apple-mobile-web-app-capable" content="yes"' _meta3 = 'name="generator" content="%s %s %s"' % ( PROGRAM_NAME, VERSION, URL_HOMEPAGE)