From c898933b7b546dcac5f64ff3ce6c80aeb3e0dcfd Mon Sep 17 00:00:00 2001
From: Jonas Kohl
Date: Thu, 7 Nov 2024 18:05:49 +0100
Subject: Make application responsive
---
public/index.php | 2 +-
public/site.css | 2 +-
public/site.js | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
(limited to 'public')
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();
-
+
Java
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();
--
cgit v1.2.3