aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/includes/markdown-editor.php2
-rw-r--r--src/index.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/includes/markdown-editor.php b/src/includes/markdown-editor.php
index fa68bb8..22551a0 100644
--- a/src/includes/markdown-editor.php
+++ b/src/includes/markdown-editor.php
@@ -3,7 +3,7 @@
<h2 class="centered">markdown goes here:</h2>
</label>
<form action="index.php" method="post">
- <textarea id="user-input" name="user-input" rows="8" cols="80"><?php echo $_SESSION['user-input'] ?? ''; ?></textarea>
+ <textarea id="user-input" name="user-input" style="width: 50rem; height: 25.625rem;"><?php echo $_SESSION['user-input'] ?? ''; ?></textarea>
<div class="centered">
<button type="submit" name="compile">create presentation</button>
</div>
diff --git a/src/index.php b/src/index.php
index e9cae38..c8964dd 100644
--- a/src/index.php
+++ b/src/index.php
@@ -21,7 +21,6 @@ session_start(); ?>
include "includes/procrastislides-banner.php";
include "includes/main-info.php";
include "includes/nav-header.php"; ?>
- <script src="/js/simplemde.js"></script>
<?php
if (isset($_POST["compile"])) {
$_SESSION["user-input"] = $_POST["user-input"];
@@ -34,13 +33,14 @@ session_start(); ?>
<footer>
<?php include "includes/nav-footer.php"; ?>
</footer>
- <link rel="stylesheet" href="/css/simplemde.css">
<script type="text/javascript">
function showGeneratingIndicator() {
const generatingIndicator = document.getElementById('generating-indicator');
generatingIndicator.style.display = 'block';
}
</script>
+ <link rel="stylesheet" href="/css/simplemde.css">
+ <script src="/js/simplemde.js"></script>
<script type="text/javascript">
var simplemde = new SimpleMDE({
element: document.getElementById("user-input")