Skip to content

Commit

Permalink
Erase href and remove unwanted styles
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuhitonakayama committed Feb 11, 2021
1 parent 3d3ade8 commit ef7748f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion includes/scroll-button.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<button href="" class="arrow-for-scrolling-top" id="js-scroll-top">
<button class="arrow-for-scrolling-top" id="js-scroll-top">
{% octicon "chevron-up" %}
</button>
11 changes: 0 additions & 11 deletions stylesheets/scroll-button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,4 @@ button.arrow-for-scrolling-top {
border: none;
transition: 1s;
}
span.arrow {
width: 10px;
display: inline-block;
height: 10px;
border-top: 1px solid #fff;
border-left: 1px solid #fff;
position: absolute;
top: 56%;
left: 50%;
transform: translate(-50%, -50%) rotate(45deg);
}
}

0 comments on commit ef7748f

Please sign in to comment.