]> source.dussan.org Git - nextcloud-server.git/commitdiff
restrict zooming on mobile devices for the publicly accessible, optimized pages
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Fri, 17 Jan 2014 13:41:05 +0000 (14:41 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Fri, 17 Jan 2014 13:41:05 +0000 (14:41 +0100)
core/templates/layout.base.php
core/templates/layout.guest.php

index 8cd237deea1c57aad08712e746d10ce1b2ef19a7..bae52a732344436c5cdec5b4e5efa57561a7c955 100644 (file)
@@ -11,7 +11,7 @@
                <?php p($theme->getTitle()); ?>
                </title>
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-               <meta name="viewport" content="width=device-width, initial-scale=1.0">
+               <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
                <link rel="shortcut icon" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>" />
                <link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>" />
                <?php foreach ($_['cssfiles'] as $cssfile): ?>
index 47ca5903dab9098e655dbcb8309f7895e8988358..6a96b17b100a03ab84693b6fe8b5b2a05c8bf247 100644 (file)
@@ -11,7 +11,7 @@
                <?php p($theme->getTitle()); ?>
                </title>
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-               <meta name="viewport" content="width=device-width, initial-scale=1.0">
+               <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
                <meta name="apple-itunes-app" content="app-id=543672169">
                <link rel="shortcut icon" href="<?php print_unescaped(image_path('', 'favicon.png')); ?>" />
                <link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>" />