aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2022-08-30 11:12:21 +0300
committerkartofen <mladenovnasko0@gmail.com>2022-08-30 11:12:21 +0300
commit298518e2fcf24c5ab168413f08ccd86570c7de6d (patch)
tree739f1534f0d9aec6844ec07a346389f3efbd26c6
parent8e4163e3f08e29f38fe87c59d8cfb91e0fa98063 (diff)
minor fixes
-rw-r--r--src/layouts/ThreadLayout.astro2
-rw-r--r--src/pages/boards.astro3
-rw-r--r--src/pages/create/[board]/[tid].astro2
3 files changed, 4 insertions, 3 deletions
diff --git a/src/layouts/ThreadLayout.astro b/src/layouts/ThreadLayout.astro
index 24aba41..cf8c394 100644
--- a/src/layouts/ThreadLayout.astro
+++ b/src/layouts/ThreadLayout.astro
@@ -9,7 +9,7 @@ const { title } = Astro.props as Props;
<title>{title}</title>
</head>
<body>
- <div style="max-width: 70%;">
+ <div style="max-width: 80%;">
<slot />
</div>
</body>
diff --git a/src/pages/boards.astro b/src/pages/boards.astro
index f10fa3a..8120bd2 100644
--- a/src/pages/boards.astro
+++ b/src/pages/boards.astro
@@ -1,6 +1,6 @@
---
-import Default from '../layouts/Default.astro';
import '../styles/blackbox.css'
+import Default from '../layouts/Default.astro';
import { api } from '../lib/api.ts';
const data = await api('get', 'boards');
@@ -22,5 +22,6 @@ const boards: string[] = await data.json();
<style is:inline>
:root {
--wdt: 300px;
+ --ml: 0px;
}
</style>
diff --git a/src/pages/create/[board]/[tid].astro b/src/pages/create/[board]/[tid].astro
index ccc95ca..f26c0d4 100644
--- a/src/pages/create/[board]/[tid].astro
+++ b/src/pages/create/[board]/[tid].astro
@@ -13,7 +13,7 @@ const { board, tid } = Astro.params;
<Form board={board} tid={tid}>
<form id="form" method="post" action="/create/comment" onsubmit="document.getElementById('submit-button').disabled = true">
<textarea name="CommentText" placeholder="Comment Contents" style="height: 150px; width: 350px;"></textarea>
- <br> <input id="submit-button" type="submit" value="Create Thread" />
+ <br> <input id="submit-button" type="submit" value="Create Comment" />
<input id="image" type="file" accept=".png,.jpg,.gif,.bmp,.mp4" />
</form>
</Form>