Skip to content

Commit

Permalink
Improved size and position of back to top button to avoid overlapping…
Browse files Browse the repository at this point in the history
… with buttons, etc.

This should fix issue #737
  • Loading branch information
jbtronics committed Nov 3, 2024
1 parent 484ba5e commit 2575e6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions assets/css/app/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ body {
.back-to-top {
cursor: pointer;
position: fixed;
bottom: 20px;
right: 20px;
bottom: 60px;
right: 40px;
display:none;
z-index: 1030;
}
Expand Down
2 changes: 1 addition & 1 deletion templates/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
{# Back to top buton #}

<!-- 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') }}>
<i class="fas fa-angle-up fa-fw"></i>
</button>
Expand Down

0 comments on commit 2575e6a

Please sign in to comment.