fix unnecessary padding in headerless templates

pull/134/head
Aevann 2023-02-24 08:31:27 +02:00
parent a90744145a
commit dd9538f200
5 changed files with 6 additions and 3 deletions

View File

@ -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
}
}

View File

@ -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" %}

View File

@ -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" %}

View File

@ -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" %}
<div class="container">

View File

@ -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 %}