summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorcitrons <citrons>2021-08-07 00:24:53 +0000
committercitrons <citrons>2021-08-07 00:24:53 +0000
commit7e5abdf79fb8358ed28d69241a929e3af4841d5b (patch)
treefc8de0df5228d7fdd94b1f63f147602761a32548
parenta4d99164de42603b83b2a7ac6e594e5925108a32 (diff)
random CSS thing that is peeving me
-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">