diff options
-rw-r--r-- | public/index.php | 2 | ||||
-rw-r--r-- | public/site.css | 2 | ||||
-rw-r--r-- | public/site.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/public/index.php b/public/index.php index 4f0f0ff..c9fdf0a 100644 --- a/public/index.php +++ b/public/index.php @@ -129,7 +129,7 @@ $csrf = csrf_token(); <html lang="en"> <head> <meta charset="UTF-8"> - <meta name="viewport" content="width=916, initial-scale=1.0"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Java</title> <link rel="stylesheet" href="codemirror.css"> <link rel="stylesheet" href="eclipse.css"> diff --git a/public/site.css b/public/site.css index 0da5540..8395782 100644 --- a/public/site.css +++ b/public/site.css @@ -1,6 +1,6 @@ body { display: block; - width: 916px; + max-width: 916px; margin: 0 auto; padding: 8px; -webkit-box-sizing: border-box; diff --git a/public/site.js b/public/site.js index 21d51a7..17a8115 100644 --- a/public/site.js +++ b/public/site.js @@ -9,7 +9,7 @@ $(function() { smartIndent: true, indentUnit: 4 }); - editor.setSize(898, 500); + editor.setSize(null, 500); $("form").on("submit", function(e) { e.preventDefault(); |