Skip to content

Commit

Permalink
Fix scroll in sidebar (next-theme#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljcbaby authored Jul 2, 2021
1 parent fb89728 commit e5610a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion layout/_macro/sidebar.njk
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
{{- next_inject('sidebar') }}
</div>
</div>

</div>

{%- if theme.back2top.enable and theme.back2top.sidebar %}
<div class="back-to-top animated" role="button" aria-label="{{ __('accessibility.back_to_top') }}">
<i class="fa fa-arrow-up"></i>
Expand Down

0 comments on commit e5610a4

Please sign in to comment.