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
hosting
static/hosting/css
templates/hosting

View file

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

View file

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