]> git.wh0rd.org - nano-editor.git/blobdiff - top.php
add <meta> for device width to improve mobile rendering
[nano-editor.git] / top.php
diff --git a/top.php b/top.php
index 4fbf7a08a9090668b67a97af49c6bf97da1ad670..0b0d162f277bd9ccee0ff9651c6186d382e778f1 100644 (file)
--- a/top.php
+++ b/top.php
@@ -3,6 +3,7 @@
 
 <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+   <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>nano &ndash; <?= $title ?></title>
 <?php if (isset($mainpage)): ?>
    <meta name="description" content="GNU nano is a small editor for on the terminal. It supports syntax highlighting, spell checking, justifying, completion, undo/redo...">