This commit is contained in:
m
2026-03-15 04:30:45 +01:00
parent f903b1b212
commit 771d74864e
2 changed files with 13 additions and 5 deletions

View File

@@ -103,7 +103,7 @@ nav {
border: 1px solid #d1d5db; border: 1px solid #d1d5db;
color: #374151; color: #374151;
border-radius: 0px; border-radius: 5px;
padding: 10px 22px; padding: 10px 22px;
font-size: 0.8rem; font-size: 0.8rem;
@@ -301,3 +301,10 @@ nav {
position: relative; position: relative;
z-index: 1; /* Ensures text stays on top */ z-index: 1; /* Ensures text stays on top */
} }
/*try to wrap back post*/
.post-actions::after {
content: "";
display: block;
clear: both;
}

View File

@@ -10,10 +10,11 @@ Template{% endblock %} {% block content %} {% from
<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) }}
<div class="post-actions">
<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
> >
</div>
<hr style="margin-top: 75px; margin-bottom: 40px" /> <hr style="margin-top: 75px; margin-bottom: 40px" />
{% include 'leave_comment.html' %} {% include 'leave_comment.html' %}