Compare commits

..

No commits in common. "5ccae7f4a33d9990885b5884a521644b5dba748d" and "f8c0f9dced6a763b113012cbc33281dc53267643" have entirely different histories.

3 changed files with 8 additions and 15 deletions

View File

@ -150,7 +150,6 @@ footer {
.pagination { .pagination {
text-align: center; text-align: center;
font-feature-settings: var(--num); font-feature-settings: var(--num);
a { a {
min-width: 1rem; min-width: 1rem;
padding: 0 0.5rem; padding: 0 0.5rem;
@ -169,7 +168,7 @@ footer {
display: grid; display: grid;
grid-template-columns: repeat(3, 1fr); grid-template-columns: repeat(3, 1fr);
width: max-content; width: max-content;
margin: 0.5rem auto; margin: auto;
.prev { .prev {
grid-column: 1; grid-column: 1;
@ -181,10 +180,6 @@ footer {
grid-column: 3; grid-column: 3;
} }
} }
& + section :first-child {
margin-top: 0;
}
} }
@media (width < 1024px) { @media (width < 1024px) {

View File

@ -6,12 +6,10 @@
{% endblock %} {% endblock %}
{% block h2 %}{{ month|date:"F Y"|capfirst }}{% endblock %} {% block h2 %}{{ month|date:"F Y"|capfirst }}{% endblock %}
{% block table %} {% block table %}
<h3>{% translate "Transactions" %}</h3>
{{ block.super }}
{% if not category %} {% if not category %}
<h3>{% translate "Categories" %}</h3> <h3>{% translate "Categories" %}</h3>
{% category_plot transactions month=month %} {% category_plot transactions month=month %}
{% endif %} {% endif %}
<section>
<h3>{% translate "Transactions" %}</h3>
{{ block.super }}
</section>
{% endblock %} {% endblock %}

View File

@ -9,14 +9,14 @@
{% block table %} {% block table %}
{% if history %} {% if history %}
<section> <section>
<h3>{% translate "History" %}</h3> <h3>
{% translate "History" %}
</h2>
{% include "history/plot.html" %} {% include "history/plot.html" %}
</section> </section>
{% endif %} {% endif %}
{% if not category %} {% if not category %}
<section> <h3>{% translate "Categories" %}</h3>
<h3>{% translate "Categories" %}</h3> {% category_plot transactions year=year %}
{% category_plot transactions year=year %}
</section>
{% endif %} {% endif %}
{% endblock %} {% endblock %}