From c18423cdb78db1559f7bb87f91a67e920a27317b Mon Sep 17 00:00:00 2001 From: Alan Buxey <alan.buxey@gmail.com> Date: Tue, 9 May 2017 15:06:20 +0100 Subject: [PATCH] adjustment of the meta viewport for better mobile/small form factor support (eg when using landscape) - don't specify the device-width etc (see e.g. https://developer.apple.com/library/content/documentation/AppleApplications/Reference/SafariWebContent/UsingtheViewport/UsingtheViewport.html ) --- templates/includes/header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/includes/header.php b/templates/includes/header.php index 6f154c0ed..2b3365128 100644 --- a/templates/includes/header.php +++ b/templates/includes/header.php @@ -43,7 +43,7 @@ header('X-Frame-Options: SAMEORIGIN'); <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> -<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0" /> +<meta name="viewport" content="initial-scale=1.0" /> <script type="text/javascript" src="/<?php echo $this->data['baseurlpath']; ?>resources/script.js"></script> <title><?php if(array_key_exists('header', $this->data)) { -- GitLab