Skip to content

Commit 587b02e

Browse files
committed
move back to top icon
1 parent e7544cb commit 587b02e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/furo/theme/furo/page.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@
6262
<div class="content">
6363
<div class="article-container">
6464
<a href="#" class="back-to-top muted-link">
65-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
66-
<path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8v12z"></path>
67-
</svg>
65+
<svg><use href="#svg-top"/></svg>
6866
<span>{% trans %}Back to top{% endtrans %}</span>
6967
</a>
7068
<div class="content-icon-container">

src/furo/theme/furo/partials/icons.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,7 @@
3838
<path d="M10 12a2 2 0 1 0 4 0 2 2 0 0 0-4 0"/>
3939
<path d="M11.11 17.958C7.901 17.651 5.2 15.665 3 12c2.4-4 5.4-6 9-6 3.6 0 6.6 2 9 6-.21.352-.427.688-.647 1.008M20 21l2-2-2-2m-3 0-2 2 2 2"/>
4040
</symbol>
41+
<symbol id="svg-top" viewBox="0 0 24 24">
42+
<path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8v12z"/>
43+
</symbol>
4144
</svg>

0 commit comments

Comments
 (0)