summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorubq323 <ubq323>2021-06-23 18:53:51 +0000
committerubq323 <ubq323>2021-06-23 18:53:51 +0000
commit4bb33e0c18b45ae0cc0f87438c8e0432cf6250c1 (patch)
tree44d981c03bee10a6943ccef10f3fdcf5d2592717
parent06d03e2fd1145271271b6d971fe6657da5bcf400 (diff)
with the redesign, this doesn't need to be so wide any more, i thinksubforums
-rw-r--r--apioforum/static/style.css3
-rw-r--r--apioforum/templates/view_forum.html4
2 files changed, 1 insertions, 6 deletions
diff --git a/apioforum/static/style.css b/apioforum/static/style.css
index fcea239..4403f18 100644
--- a/apioforum/static/style.css
+++ b/apioforum/static/style.css
@@ -174,9 +174,6 @@ main {
max-width: 60ch;
margin: auto;
}
-main.widemain {
- max-width: 120ch;
-}
blockquote {
margin-left: 10px;
diff --git a/apioforum/templates/view_forum.html b/apioforum/templates/view_forum.html
index 3529caa..96c51bb 100644
--- a/apioforum/templates/view_forum.html
+++ b/apioforum/templates/view_forum.html
@@ -7,8 +7,7 @@
{% endif %}
{%endblock%}
-{%block nmcontent%}
-<main class="widemain">
+{%block content%}
{% if forum.description %}
{{forum.description|md|safe}}
{% endif %}
@@ -81,5 +80,4 @@
{%endfor%}
</div>
-</main>
{%endblock%}