1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 08:56:07 +00:00

fix(ui): the Logs and Jobs page links fit a phone screen

The page links of Logs and Jobs showed eleven pages around the current
one: with many pages the bar was 674 px wide on a 375 px screen and the
page scrolled sideways. They now show five and wrap when even those do
not fit.
This commit is contained in:
catborise 2026-11-10 09:05:01 +03:00
parent e683c7677e
commit 51e1837a45
2 changed files with 2 additions and 2 deletions

View file

@ -62,5 +62,5 @@
</div>
{% endif %}
</div>
{% if logs %}{% bootstrap_pagination logs extra=query %}{% endif %}
{% if logs %}{% bootstrap_pagination logs extra=query pages_to_show=5 extra_classes="flex-wrap" %}{% endif %}
{% endblock %}

View file

@ -101,7 +101,7 @@
{% endif %}
</div>
{% if page.has_other_pages %}
{% bootstrap_pagination page extra=page_query %}
{% bootstrap_pagination page extra=page_query pages_to_show=5 extra_classes="flex-wrap" %}
{% endif %}
{% endblock %}
{% block script %}