Improved size and position of back to top button to avoid overlapping with buttons, etc.

This should fix issue #737
This commit is contained in:
Jan Böhmer 2024-11-03 23:58:06 +01:00
parent 484ba5ebd7
commit 2575e6a160
2 changed files with 3 additions and 3 deletions

View file

@ -108,8 +108,8 @@ body {
.back-to-top { .back-to-top {
cursor: pointer; cursor: pointer;
position: fixed; position: fixed;
bottom: 20px; bottom: 60px;
right: 20px; right: 40px;
display:none; display:none;
z-index: 1030; z-index: 1030;
} }

View file

@ -111,7 +111,7 @@
{# Back to top buton #} {# Back to top buton #}
<!-- Back to top button --> <!-- Back to top button -->
<button id="back-to-top" class="btn btn-primary back-to-top" role="button" title="{% trans %}back_to_top{% endtrans %}" <button id="back-to-top" class="btn btn-primary back-to-top btn-sm" role="button" title="{% trans %}back_to_top{% endtrans %}"
{{ stimulus_controller('common/back_to_top') }} {{ stimulus_action('common/back_to_top', 'backToTop') }}> {{ stimulus_controller('common/back_to_top') }} {{ stimulus_action('common/back_to_top', 'backToTop') }}>
<i class="fas fa-angle-up fa-fw"></i> <i class="fas fa-angle-up fa-fw"></i>
</button> </button>