Skip to content

Commit

Permalink
Merge pull request #106 from Apes2getherStrong/WTG-2-current-localiza…
Browse files Browse the repository at this point in the history
…tion-button

Wtg 2 current localization button
  • Loading branch information
Drillllll authored Aug 28, 2024
2 parents 7971cb6 + 5f3984e commit 19a3a8c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/app/shared/map/map.component.css
Original file line number Diff line number Diff line change
@@ -1,2 +1,21 @@
.center-button {
position: absolute;
top: 60px;
right: 10px;
width: 40px;
height: 40px;

background-color: white;
color: dimgrey;
border: none;
border-radius: 2px;

font-size: 30px;
text-align: center;

cursor: pointer;
}

.center-button:hover {
color: black;
}
4 changes: 4 additions & 0 deletions src/app/shared/map/map.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,9 @@
</div>
-->

<button (click)="focusOnCurrentLocation()" class="center-button">
</button>



0 comments on commit 19a3a8c

Please sign in to comment.