Skip to content

Commit

Permalink
Make the "Add a new bill" button visible on small resolutions. Fixes #…
Browse files Browse the repository at this point in the history
…896 (#904)

The clearfix should be applied before the pagination blocks.
  • Loading branch information
almet authored Nov 1, 2021
1 parent 6750e4f commit cdc98a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ihatemoney/templates/list_bills.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ <h3 class="modal-title">{{ _('Add a bill') }}</h3>
</div>
</div>
</div>

<div class="clearfix"></div>
{% if bills.pages > 1 %}
<ul class="pagination" id="pagination-top">
<li class="page-item {% if bills.page == 1 %}disabled{% endif %}"><a class="page-link" href="{{ url_for('main.list_bills', page=bills.prev_num) }}">&laquo; {{ _("Newer bills") }}</a></li>
Expand All @@ -98,12 +98,12 @@ <h3 class="modal-title">{{ _('Add a bill') }}</h3>
{% endif %}

{% if bills.total > 0 %}
<div class="clearfix"></div>


<table id="bill_table" class="col table table-striped table-hover table-responsive-sm">
<thead>
<tr><th>{{ _("When?") }}
</th><th>{{ _("Who paid?") }}
</th><th>{{ _("Who paid?") }}
</th><th>{{ _("For what?") }}
</th><th>{{ _("For whom?") }}
</th><th>{{ _("How much?") }}
Expand Down

0 comments on commit cdc98a6

Please sign in to comment.