]> git.joonet.de Git - adminer.git/commitdiff
Chrome 134 on iOS: Allow zooming out (bug #940)
authorJakub Vrana <jakub@vrana.cz>
Sun, 23 Mar 2025 11:34:55 +0000 (12:34 +0100)
committerJakub Vrana <jakub@vrana.cz>
Sun, 23 Mar 2025 11:40:07 +0000 (12:40 +0100)
adminer/include/design.inc.php

index b64f7fd5ea8c7a5467b963edf414253f47332dee..93c968f68cf5a6622c2fb976973432faff711907 100644 (file)
@@ -21,12 +21,13 @@ function page_header($title, $error = "", $breadcrumb = array(), $title2 = "") {
        }
        $title_all = $title . ($title2 != "" ? ": $title2" : "");
        $title_page = strip_tags($title_all . (SERVER != "" && SERVER != "localhost" ? h(" - " . SERVER) : "") . " - " . $adminer->name());
+       // initial-scale=1 is the default but Chrome 134 on iOS is not able to zoom out without it
        ?>
 <!DOCTYPE html>
 <html lang="<?php echo $LANG; ?>" dir="<?php echo lang('ltr'); ?>">
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 <meta name="robots" content="noindex">
-<meta name="viewport" content="width=device-width">
+<meta name="viewport" content="width=device-width,initial-scale=1">
 <title><?php echo $title_page; ?></title>
 <link rel="stylesheet" href="../adminer/static/default.css">
 <?php