diff --git a/web/templates/base.html b/web/templates/base.html index 3dffc19..a4604b0 100644 --- a/web/templates/base.html +++ b/web/templates/base.html @@ -133,7 +133,6 @@ text-align: left; padding: 8px; word-wrap: break-word; - word-break: break-all; } .hide { @@ -186,7 +185,25 @@ clear: both; } + + .standard-table { + display: block; + } + + .mobile-table { + display: none; + } + @media only screen and (max-width: 1000px) { + + .standard-table { + display: none; + } + + .mobile-table { + display: table; + } + .container { width: 95%; } diff --git a/web/templates/thread.html b/web/templates/thread.html index 219016c..d79b46e 100644 --- a/web/templates/thread.html +++ b/web/templates/thread.html @@ -32,28 +32,55 @@

{{ thread_category }} > {{ thread_name }}

- - - - - - {% for post in posts %} - - - - - {% endfor %} -
- - {{ post.created_by }} {% if post.created_by.flair %}({{ post.created_by.flair }}) {% endif %}
-
- joined {{ post.created_by.date_joined|naturaltime }} -
-
- {{ post.created_at|naturaltime }} -
- {{ post.content|safe }} -
+ + + + + + + + {% for post in posts %} + + + + + {% endfor %} +
+ + {{ post.created_by }} {% if post.created_by.flair %}({{ post.created_by.flair }}) {% endif %}
+
+ joined {{ post.created_by.date_joined|naturaltime }} +
+
+ {{ post.created_at|naturaltime }} +
+ {{ post.content|safe }} +
+ + + + {% for post in posts %} + + + + {% endfor %} +
+ +
+
+ +
+
+ {{ post.created_by }} {% if post.created_by.flair %}({{ post.created_by.flair }}) {% endif %}
+ {{ post.created_at|naturaltime }} +
+ +
+
+ +
+ {{ post.content|safe }} +