removed row (post detail)
This commit is contained in:
@@ -96,6 +96,7 @@ nav {
|
||||
}
|
||||
/* --- Buttons & UI --- */
|
||||
.btn-read-more {
|
||||
margin-top: 20px;
|
||||
float: right;
|
||||
background: #f8f9fa;
|
||||
border: 1px solid #e1e4e8;
|
||||
@@ -113,7 +114,7 @@ nav {
|
||||
}
|
||||
|
||||
.btn-read-more:hover {
|
||||
background-color: #e1e4e8;
|
||||
background-color: #666;
|
||||
color: #ffffff; /* Invert colors on hover */
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
@@ -3,24 +3,22 @@ Template{% endblock %} {% block content %} {% from
|
||||
"components/post_renderer.html" import render_post %} {% from
|
||||
"components/comment_renderer.html" import render_comment %}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<h1 class="post-title">{{ post.title }}</h1>
|
||||
<p class="lead">{{ post.subtitle }}</p>
|
||||
<p>
|
||||
<span class="glyphicon glyphicon-time"></span> Posted on {{ post.date }}
|
||||
</p>
|
||||
{{ render_post(post) }}
|
||||
<div class="col-lg-12">
|
||||
<h1 class="post-title">{{ post.title }}</h1>
|
||||
<p class="lead">{{ post.subtitle }}</p>
|
||||
<p>
|
||||
<span class="glyphicon glyphicon-time"></span> Posted on {{ post.date }}
|
||||
</p>
|
||||
{{ render_post(post) }}
|
||||
|
||||
<a href="{{ url_for('home') }}" class="btn btn-default btn-custom"
|
||||
>← Back to Posts</a
|
||||
>
|
||||
<a href="{{ url_for('home') }}" class="btn btn-default btn-custom"
|
||||
>← Back to Posts</a
|
||||
>
|
||||
|
||||
<hr style="margin-top: 75px; margin-bottom: 40px" />
|
||||
{% include 'leave_comment.html' %}
|
||||
<hr style="margin-top: 75px; margin-bottom: 40px" />
|
||||
{% include 'leave_comment.html' %}
|
||||
|
||||
<hr />
|
||||
{{render_comment(comments)}}
|
||||
</div>
|
||||
<hr />
|
||||
{{render_comment(comments)}}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user