Skip to content

Commit bf45f97

Browse files
authored
Merge pull request #136 from sayanp99/testing
Front-end bugs fixed in Blog App
2 parents 5f9427f + 368dfe0 commit bf45f97

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ website/db.sqlite3
7575
website/blog/migrations/
7676
website/events/migrations/
7777
website/forum/migrations/
78+
website/getting_started/migrations/
7879
website/interview_exp/migrations/
7980
website/team/migrations/
80-
website/user_profile/migrations/
81+
website/user_profile/migrations/
82+
83+
# Media files
84+
media/

website/blog/templates/blog/blog_details.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,12 @@ <h5 class="text-muted" style="text-align:center;">Enter your comment details bel
220220
</div>
221221
{% endif %} {% endif %} {% endfor %}
222222
<div class="comment-content col-md-10 col-sm-10 ml-2 p-2">
223-
<div class="comment-body answerBoxMargin">
223+
<div class="comment-body answerBoxMargin" style="padding-bottom: 12px;">
224224
{{reply.description|safe}}
225225
<div id='reply_form{{reply.user_id.id}}{{reply.id}}' > </div>
226226
<div id='u_ans_form{{reply.id}}' com-id="{{reply.id}}"> </div>
227-
<span class="small comment-meta"><a href="{% url 'user_profile:view_profile' reply.user_id.id %}">{{ reply.user_id }}</a> last updated on {{reply.updated_at}}</span>
228-
<span style="float:right;margin-bottom: 0px;">
227+
<span class="small comment-meta" style="font-size: 80%;"><a href="{% url 'user_profile:view_profile' reply.user_id.id %}">{{ reply.user_id }}</a> last updated on {{reply.updated_at}}</span>
228+
<span style="float:right;margin-bottom: 0px;font-size: 80%;">
229229
{%if not user.is_authenticated%}
230230
<span><a class="voteReply text-right small p-1"> {{ reply.id|commentlike_count }} <i class="fas fa-arrow-up"></i></a> &nbsp;&nbsp;</span>
231231
{%else%}

website/blog/templates/blog/blog_list.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@
4949
{%endif%}
5050
</span>
5151
</div>
52-
<div><span id="followValue" style="font-size:70%;">{{post.id|postlike_count}} vote(s)</span></div>
52+
<div class="col-sm-5 col-md-3 col-lg-6" id="followBox" style="display: inline-block;">
53+
<span id="followValue" style="font-size:70%;">{{post.id|postlike_count}} vote(s)</span>
54+
</div>
5355
</div>
5456
</div>
5557
<!-- </div> -->

0 commit comments

Comments
 (0)