aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Johnson <[email protected]>2026-03-17 12:47:47 -0400
committerSamuel Johnson <[email protected]>2026-03-17 12:47:47 -0400
commit1ae6f53f54e79656d93fe9116ebc7812c50886c4 (patch)
treeca600ff13dff7b755fb9e3e26f30f3fe918708f5
parent22d5ad9f73b9cde11b101431e988dec3bf8521f0 (diff)
Fix comment spacing on mobile
-rw-r--r--static/app.css7
-rw-r--r--ui/html/pages/post.tmpl.html2
2 files changed, 8 insertions, 1 deletions
diff --git a/static/app.css b/static/app.css
index 650ea58..e2acb2f 100644
--- a/static/app.css
+++ b/static/app.css
@@ -251,6 +251,13 @@ iframe {
margin-right: 0em;
}
+.comment_zone {
+ width: 25%;
+ display: grid;
+ grid-template-columns: 1fr 5fr 1fr;
+ gap: 1em;
+}
+
.markdown_form {
margin-left: 2em;
margin-right: 2em;
diff --git a/ui/html/pages/post.tmpl.html b/ui/html/pages/post.tmpl.html
index d3b78f0..26d831a 100644
--- a/ui/html/pages/post.tmpl.html
+++ b/ui/html/pages/post.tmpl.html
@@ -10,7 +10,7 @@
<form action="/comments/post?id={{.Post.Id}}" method="POST">
<label for="comment"></label>
<textarea name="comment" id="comment" rows="5" class="w100" required></textarea><br><br>
- <div class="flex-between">
+ <div class="comment_zone">
<label for="name">Name:</label>
<input type="text" name="name" id="name" required>
<input type="submit" value="Post">