Skip to content

Commit c35eb01

Browse files
committed
1 parent e43bb2b commit c35eb01

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

web_src/js/markup/anchors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function initMarkupAnchors() {
2424
a.classList.add('anchor');
2525
a.setAttribute('href', `#${encodeURIComponent(originalId)}`);
2626
a.innerHTML = svg('octicon-link');
27-
heading.prepend(a);
27+
heading.append(a);
2828
}
2929

3030
scrollToAnchor();

web_src/less/markup/content.less

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@
3030
}
3131

3232
.anchor {
33-
padding-right: 4px;
34-
margin-left: -20px;
33+
margin-left: 4px;
3534
line-height: 1;
3635
color: inherit;
3736
}

0 commit comments

Comments
 (0)