summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorJonas Kohl2024-11-07 18:05:49 +0100
committerJonas Kohl2024-11-07 18:05:49 +0100
commitc898933b7b546dcac5f64ff3ce6c80aeb3e0dcfd (patch)
tree3dc027b236c5810c1d23aeef5eaf3f3d5db67d38 /public
parent1aaa16466d9549486a728bd31583adbac6c38431 (diff)
Make application responsive
Diffstat (limited to 'public')
-rw-r--r--public/index.php2
-rw-r--r--public/site.css2
-rw-r--r--public/site.js2
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();