Compare commits

...

2 Commits

5 changed files with 6 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
{% from 'common/macros.html' import pager, timestamp, bookmark_button %} {% from 'common/macros.html' import pager, timestamp %}
{% from 'common/icons.html' import icn_bookmark, icn_lock, icn_sticky %} {% from 'common/icons.html' import icn_lock, icn_sticky %}
{% extends "base.html" %} {% extends "base.html" %}
{% block title %}browsing topic {{ topic['name'] }}{% endblock %} {% block title %}browsing topic {{ topic['name'] }}{% endblock %}
{% block content %} {% block content %}
@@ -51,11 +51,6 @@
Started by <a href="{{ url_for("users.page", username=thread['started_by']) }}">{{ thread['started_by'] }}</a> on {{ timestamp(thread['created_at']) }} Started by <a href="{{ url_for("users.page", username=thread['started_by']) }}">{{ thread['started_by'] }}</a> on {{ timestamp(thread['created_at']) }}
</span> </span>
</span> </span>
<span>
{% if active_user and not active_user.is_guest() -%}
{{ bookmark_button(type="thread", id=thread.id) }}
{%- endif %}
</span>
</span> </span>
<span> <span>
Latest post by <a href="{{ url_for("users.page", username=thread['latest_post_username']) }}">{{ thread['latest_post_username'] }}</a> Latest post by <a href="{{ url_for("users.page", username=thread['latest_post_username']) }}">{{ thread['latest_post_username'] }}</a>

View File

@@ -156,7 +156,7 @@ a:visited {
.post-content { .post-content {
grid-area: post-content; grid-area: post-content;
padding: 20px 20px 0 20px; padding: 20px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow: hidden; overflow: hidden;

View File

@@ -156,7 +156,7 @@ a:visited {
.post-content { .post-content {
grid-area: post-content; grid-area: post-content;
padding: 20px 20px 0 20px; padding: 20px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow: hidden; overflow: hidden;

View File

@@ -156,7 +156,7 @@ a:visited {
.post-content { .post-content {
grid-area: post-content; grid-area: post-content;
padding: 12px 12px 0 12px; padding: 12px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow: hidden; overflow: hidden;

View File

@@ -294,7 +294,7 @@ $post_info_background: $MAIN_BG !default;
background-color: $post_info_background; background-color: $post_info_background;
} }
$post_content_padding: $BIG_PADDING $BIG_PADDING $ZERO_PADDING $BIG_PADDING !default; $post_content_padding: $BIG_PADDING !default;
$post_content_background: $ACCENT_COLOR !default; $post_content_background: $ACCENT_COLOR !default;
.post-content { .post-content {
grid-area: post-content; grid-area: post-content;