]> 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 8a0e3ee7a90eb65ec73a4f2772ab55d472b8690e..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...">
 
 <body>
 
-<table BORDER=0 CELLSPACING=0 WIDTH="100%" HEIGHT="8%">
+<table border=0 cellspacing=0 width="100%">
 <tr><td>
 
-<table BORDER=0 CELLSPACING=0 WIDTH="100%" CLASS="inverted">
+<table border=0 cellspacing=0 width="100%" class="inverted">
 <tr>
 
 <td>