Skip to content

Commit

Permalink
Add tooltiop for scroll-to-top button (#829)
Browse files Browse the repository at this point in the history
Signed-off-by: hossainemruz <[email protected]>
  • Loading branch information
hossainemruz authored Oct 31, 2023
1 parent c00d676 commit cd2546d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,9 @@ <h1>{{ .Page.Title }}</h1>
</div>
</div>
<!--scroll back to top-->
<a id="scroll-to-top" class="btn"><i class="fas fa-chevron-circle-up"></i></a>
<a id="scroll-to-top" class="btn" data-toggle="tooltip" data-placement="left" title="Scroll to top">
<i class="fas fa-chevron-circle-up"></i>
</a>
</section>
{{ end }}

Expand Down

0 comments on commit cd2546d

Please sign in to comment.