removed row (post detail)

This commit is contained in:
m
2026-03-15 03:33:41 +01:00
parent feabfb44a0
commit 8eb779b3c1
2 changed files with 16 additions and 17 deletions

View File

@@ -96,6 +96,7 @@ nav {
} }
/* --- Buttons & UI --- */ /* --- Buttons & UI --- */
.btn-read-more { .btn-read-more {
margin-top: 20px;
float: right; float: right;
background: #f8f9fa; background: #f8f9fa;
border: 1px solid #e1e4e8; border: 1px solid #e1e4e8;
@@ -113,7 +114,7 @@ nav {
} }
.btn-read-more:hover { .btn-read-more:hover {
background-color: #e1e4e8; background-color: #666;
color: #ffffff; /* Invert colors on hover */ color: #ffffff; /* Invert colors on hover */
transform: translateY(-1px); transform: translateY(-1px);
} }

View File

@@ -3,24 +3,22 @@ Template{% endblock %} {% block content %} {% from
"components/post_renderer.html" import render_post %} {% from "components/post_renderer.html" import render_post %} {% from
"components/comment_renderer.html" import render_comment %} "components/comment_renderer.html" import render_comment %}
<div class="row"> <div class="col-lg-12">
<div class="col-lg-12"> <h1 class="post-title">{{ post.title }}</h1>
<h1 class="post-title">{{ post.title }}</h1> <p class="lead">{{ post.subtitle }}</p>
<p class="lead">{{ post.subtitle }}</p> <p>
<p> <span class="glyphicon glyphicon-time"></span> Posted on {{ post.date }}
<span class="glyphicon glyphicon-time"></span> Posted on {{ post.date }} </p>
</p> {{ render_post(post) }}
{{ render_post(post) }}
<a href="{{ url_for('home') }}" class="btn btn-default btn-custom" <a href="{{ url_for('home') }}" class="btn btn-default btn-custom"
>← Back to Posts</a >← Back to Posts</a
> >
<hr style="margin-top: 75px; margin-bottom: 40px" /> <hr style="margin-top: 75px; margin-bottom: 40px" />
{% include 'leave_comment.html' %} {% include 'leave_comment.html' %}
<hr /> <hr />
{{render_comment(comments)}} {{render_comment(comments)}}
</div>
</div> </div>
{% endblock %} {% endblock %}