Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Removed the navigate to top button #464

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
<span class="sr-only">Loading...</span>
</div>
</div>
<app-scroll-to-top></app-scroll-to-top>

17 changes: 1 addition & 16 deletions src/app/components/scroll-to-top/scroll-to-top.component.html
Original file line number Diff line number Diff line change
@@ -1,16 +1 @@
<div class="scroll-to-top" [ngClass]="{ 'show-scrollTop': windowScrolled }">
<svg
xmlns="http://www.w3.org/2000/svg"
width="30"
height="30"
fill="currentColor"
class="bi bi-arrow-up-square"
viewBox="0 0 16 16"
(click)="scrollToTop()"
>
<path
fill-rule="evenodd"
d="M15 2a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V2zM0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2zm8.5 9.5a.5.5 0 0 1-1 0V5.707L5.354 7.854a.5.5 0 1 1-.708-.708l3-3a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.707V11.5z"
/>
</svg>
</div>