content-dashboard removed for unregistered pages

This commit is contained in:
Arvind Tiwari 2017-10-07 17:06:55 +05:30
parent 1dc374e09d
commit f3832c1db9
2 changed files with 2 additions and 3 deletions

View file

@ -18,7 +18,7 @@
} }
.content-dashboard{ .content-dashboard{
min-height: calc(100vh - 60px); min-height: calc(100vh - 180px);
width: 80%; width: 80%;
margin: 0 auto; margin: 0 auto;
max-width: 1120px; max-width: 1120px;

View file

@ -54,8 +54,7 @@
{% include "hosting/includes/_navbar_user.html" %} {% include "hosting/includes/_navbar_user.html" %}
{% endblock navbar %} {% endblock navbar %}
<div class="{% if request.user.is_authenticated %}content-dashboard{% endif %}">
<div class="content-dashboard">
{% block content %} {% block content %}
{% endblock %} {% endblock %}
</div> </div>