summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--apioforum/static/style.css6
-rw-r--r--apioforum/templates/edit_forum.html2
2 files changed, 6 insertions, 2 deletions
diff --git a/apioforum/static/style.css b/apioforum/static/style.css
index 62d643c..280749b 100644
--- a/apioforum/static/style.css
+++ b/apioforum/static/style.css
@@ -196,7 +196,10 @@ nav#navbar .links { display: flex; }
content: "]";
color: grey;
}
-.actionbutton { color:blue }
+.actionbutton {
+ color:blue;
+ white-space: nowrap;
+}
.new-post-box, .forum-desc-box {
height:20em;
@@ -241,6 +244,7 @@ fieldset { margin-bottom: 15px; }
font-size: .75rem;
padding: 1px 3px;
border: 1px solid black;
+ white-space: nowrap;
}
.md table {
diff --git a/apioforum/templates/edit_forum.html b/apioforum/templates/edit_forum.html
index c8027e7..32bfaf1 100644
--- a/apioforum/templates/edit_forum.html
+++ b/apioforum/templates/edit_forum.html
@@ -17,7 +17,7 @@
maxlength="6000"
required
>{{description}}</textarea>
- <input type="checkbox" id="unlisted" name="unlisted"/>
+ <input type="checkbox" id="unlisted" name="unlisted" {% if unlisted %}checked{% endif %}/>
<label for="unlisted">unlisted?</label>
<p>
<input type="submit" value="confirm">