Skip to content

Commit ef7748f

Browse files
Erase href and remove unwanted styles
1 parent 3d3ade8 commit ef7748f

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

includes/scroll-button.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<button href="" class="arrow-for-scrolling-top" id="js-scroll-top">
1+
<button class="arrow-for-scrolling-top" id="js-scroll-top">
22
{% octicon "chevron-up" %}
33
</button>

stylesheets/scroll-button.scss

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,4 @@ button.arrow-for-scrolling-top {
1515
border: none;
1616
transition: 1s;
1717
}
18-
span.arrow {
19-
width: 10px;
20-
display: inline-block;
21-
height: 10px;
22-
border-top: 1px solid #fff;
23-
border-left: 1px solid #fff;
24-
position: absolute;
25-
top: 56%;
26-
left: 50%;
27-
transform: translate(-50%, -50%) rotate(45deg);
28-
}
2918
}

0 commit comments

Comments
 (0)