Skip to content

Commit 33ffa0e

Browse files
authored
fix edit-this-page icon (#359)
1 parent f058097 commit 33ffa0e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

apps/svelte.dev/src/routes/docs/[...path]/+page.svelte

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,10 @@
4040

4141
<p class="edit">
4242
<a
43-
class="edit"
4443
href="https://github.com/sveltejs/svelte.dev/edit/main/apps/svelte.dev/content/{data.document
4544
.file}"
4645
>
47-
<Icon size={50} name="edit" /> Edit this page on GitHub
46+
<Icon name="edit" /> Edit this page on GitHub
4847
</a>
4948
</p>
5049
</div>
@@ -70,16 +69,14 @@
7069
.edit {
7170
position: relative;
7271
font-size: 1.4rem;
73-
line-height: 1;
74-
z-index: 2;
7572
margin: 6rem 0 2rem 0;
7673
font-family: var(--sk-font-ui);
7774
7875
a {
7976
text-decoration: none;
8077
}
8178
82-
:global(.icon) {
79+
:global(svg) {
8380
position: relative;
8481
top: -0.1rem;
8582
left: 0.3rem;

0 commit comments

Comments
 (0)