diff --git a/files/assets/css/main.css b/files/assets/css/main.css index d94c40f9d..310bed080 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -7169,12 +7169,12 @@ input[type=number] { -moz-appearance: textfield !important; } -body { +.has_header { padding-top: 85.9px !important } @media (max-width: 767.98px) { - body { + .has_header { padding-top: 74.55px !important } } diff --git a/files/templates/chat.html b/files/templates/chat.html index d246dfcb1..07622b8b8 100644 --- a/files/templates/chat.html +++ b/files/templates/chat.html @@ -1,6 +1,7 @@ {%- extends 'root.html' -%} {% block pagetitle -%}Chat{%- endblock %} {% block pagetype %}chat{% endblock %} +{% block body_attributes %}class="has_header"{% endblock %} {% block body %} {% include "header.html" %} {% include "modals/expanded_image.html" %} diff --git a/files/templates/default.html b/files/templates/default.html index 09581b7c6..4397606ec 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -1,5 +1,5 @@ {%- extends 'root.html' -%} -{% block body_attributes %}id="{% if request.path != '/comments' %}{% block pagetype %}frontpage{% endblock %}{% endif %}"{% endblock %} +{% block body_attributes %}id="{% if request.path != '/comments' %}{% block pagetype %}frontpage{% endblock %}{% endif %}" class="has_header"{% endblock %} {% block body %} {% block banner %} {% include "modals/expanded_image.html" %} diff --git a/files/templates/settings.html b/files/templates/settings.html index 3b46f7efc..c7b1a7173 100644 --- a/files/templates/settings.html +++ b/files/templates/settings.html @@ -2,6 +2,7 @@ {% import 'settings/common.html' as common with context %} {% block pagetitle %}Settings{% endblock %} {% block pagetype %}settings{% endblock %} +{% block body_attributes %}class="has_header"{% endblock %} {% block body %} {% include "header.html" %}
diff --git a/files/templates/settings2.html b/files/templates/settings2.html index 49e1e351c..4dce597cc 100644 --- a/files/templates/settings2.html +++ b/files/templates/settings2.html @@ -1,6 +1,7 @@ {%- extends 'root.html' -%} {% block pagetitle %}User List{% endblock %} {% block pagetype %}settings2{% endblock %} +{% block body_attributes %}class="has_header"{% endblock %} {% block body %} {% include "header.html" %} {% block subNav %}